bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB 5.2 on alphaev6-dec-osf4.0f


From: Bert Deknuydt
Subject: GDB 5.2 on alphaev6-dec-osf4.0f
Date: Thu, 2 May 2002 13:30:43 +0200

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 address@hidden ---------------
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]