🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #2203

GDB 5.2 on alphaev6-dec-osf4.0f

#2203
From: 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
Technical Details
Message-ID: <15569.9059.475603.924998@gargle.gargle.HOWL>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!sunqbc.risq.qc.ca!wesley.videotron.net!priapus.visi.com!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5053,7078e79ed52f75ba,start
X-Google-Attributes: gidf5053,public
X-Google-ArrivalTime: 2002-05-02 04:31:02 PST
x-uunet-gateway: mr1.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Thu, 2 May 2002 11:31:01 GMT
From: Bert.Deknuydt@esat.kuleuven.ac.be (Bert Deknuydt)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15569.9059.475603.924998@gargle.gargle.HOWL>
Date: Thu, 2 May 2002 13:30:43 +0200
Subject: GDB 5.2 on alphaev6-dec-osf4.0f
X-Mailer: VM 7.04 under Emacs 21.2.1
Approved: bug-gdb-request@mail.gnu.org
Newsgroups: gnu.gdb.bug
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!sunqbc.risq.qc.ca!wesley.videotron.net!priapus.visi.com!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb
Sender: bug-gdb-request@mail.gnu.org
Lines: 52