This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/323: mdebugread.c:2448: gdb-internal-error: Section index is uninitialized



>Number:         323
>Category:       gdb
>Synopsis:       mdebugread.c:2448: gdb-internal-error: Section index is uninitialized
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 31 09:08:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Richard Jackson
>Release:        gdb 5.1.1
>Organization:
>Environment:
Compaq Alphaserver 4100 running Tru64 UNIX 4.0G
>Description:
GNU gdb 5.1.1
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 "alphaev56-dec-osf4.0g"...mdebugread.c:2448: gdb-internal-error: Section index is uninitialized

An internal GDB error was detected.  This may make further
debugging unreliable.  Continue this debugging session? (y or n) n

Create a core file containing the current state of GDB? (y or n) n

======================================
I have compiled the below 'hello world' program with GCC 2.8.1,
2.95.2, 2.95.3, and 3.0.3 and used gdb 5.1.1 compiled via
GCC 2.8.1, 2.95.2, 2.95.3, and 3.0.3.  All variations produce
the same internal-error message.  I have noted an older
gdb 4.18 compiled with alphaev56-dec-osf4.0d (NOTE V4.0D,
not V4.0G) does not produce the internal-error.  However,
I also noted that gdb 4.18 against a simple GCC g++ 3.0.3
program results in a segmentation fault when setting
'break main'.  This is why I tried gdb 5.1.1 in the first 
place.

main()
{
printf("Hello, World!\n");
}
>How-To-Repeat:
create C above hello world program
compile with gcc -g
gdb a.out
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]