This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/1673: Solaris expat
- From: john dot oseman at softel dot co dot uk
- To: gdb-gnats at sources dot redhat dot com
- Date: 14 Jun 2004 15:31:56 -0000
- Subject: gdb/1673: Solaris expat
- Reply-to: john dot oseman at softel dot co dot uk
>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: