🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Bert Deknuydt Thu, 02 May 2002 11:30
GDB 5.2 on alphaev6-dec-osf4.0f
#2203
Author: Bert Deknuydt
Date: Thu, 02 May 2002 11:30
52 lines
3198 bytes
Hello,

Just to report that 5.2 suffers from the same problem as 5.1 on Tru64.

>gdb ./brol  # Unpatched
>GNU gdb 5.2
>Copyright 2002 Free Software Foundation, Inc.
>GDB is free software, covered by the GNU General Public License, and you are
>welcome to change it and/or distribute copies of it under certain conditions.
>Type "show copying" to see the conditions.
>There is absolutely no warranty for GDB.  Type "show warranty" for details.
>This GDB was configured as "alphaev6-dec-osf4.0f"...
>mdebugread.c:2448: gdb-internal-error: Section index is uninitialized

This for _any_ executable, either compiled with gcc or the native cc.

After applying a suggested patch (adding the .sbss section in 'symfile.c')
things improve slightly ...

> ./gdb ~deknuydt/bin/brol # Patched
>GNU gdb 5.2
>Copyright 2002 Free Software Foundation, Inc.
>GDB is free software, covered by the GNU General Public License, and you are
>welcome to change it and/or distribute copies of it under certain conditions.
>Type "show copying" to see the conditions.
>There is absolutely no warranty for GDB.  Type "show warranty" for details.
>This GDB was configured as "alphaev6-dec-osf4.0f"...
>Setting up the environment for debugging gdb.
>.gdbinit:5: Error in sourced command file:
>Function "internal_error" not defined.
>(gdb) r
>Starting program: /tmp_mnt/users/visics/deknuydt/bin/brol 
>mdebugread.c:2441: gdb-internal-error: sect_index_data not initialized
>An internal GDB error was detected.  This may make further
>debugging unreliable.  Quit this debugging session? (y or n) n
>Create a core file containing the current state of GDB? (y or n) n

Now you can debug, but the last three lines are repeated all too often...

Greetings,

Bert.

-- 
-------------- eMail Bert.Deknuydt@esat.kuleuven.ac.be ---------------
B.DeKnuydt, PSI-KULeuven                            Tel. +32-16-321880
Kasteelpark Arenberg 10          /|    | ||
B-3001 Leuven-Heverlee        _,_)|  4_|_||
FLANDERS, BELGIUM            / .                    Fax. +32-16-321838
-------------- http://www.esat.kuleuven.ac.be/~deknuydt --------------
        Cursed be man! How ungrateful is he! Qur'An 80, 17
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads