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/1673: Solaris expat


>Number:         1673
>Category:       gdb
>Synopsis:       Solaris expat
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 14 15:38:02 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     John Oseman
>Release:        GNU GDB 6.1
>Organization:
>Environment:
SunOS SunJohnO 5.9 Generic_112233-07 sun4u sparc SUNW,Sun-Blade-100
gcc version 3.3.3
gdb invoked from command-line or Eclipse Workbench
>Description:
I am using the Solaris9 package: expat-1.95.5-sol9-sparc-local

If I build the example program:
file:/usr/local/doc/expat/examples/elements.c

Any attempt to debug the application results in the following:

dbxread.c:3048: internal-error: sect_index_data not initialized
>How-To-Repeat:
bash-2.05$ cd /export/home/JohnO/workspace/expat_test/Debug/
bash-2.05$ ls
elements.d  expat_test  objects.mk  subdir.mk
elements.o  makefile    sources.mk  test.xml
bash-2.05$ gdb expat_test
GNU gdb 6.1
Copyright 2004 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 "sparc-sun-solaris2.9"...
(gdb) list
23      {
24        int *depthPtr = userData;
25        *depthPtr -= 1;
26      }
27
28      int
29      main(int argc, char *argv[])
30      {
31        char buf[BUFSIZ];
32        XML_Parser parser = XML_ParserCreate(NULL);
(gdb) break 32
Breakpoint 1 at 0x10a18: file ../elements.c, line 32.
(gdb) run
Starting program: /export/home/JohnO/workspace/expat_test/Debug/expat_test

Breakpoint 1, main (argc=1, argv=0xffbfeb04) at ../elements.c:32
32        XML_Parser parser = XML_ParserCreate(NULL);
(gdb) step
dbxread.c:3048: internal-error: sect_index_data not initialized
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
>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]