This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
gdb/322: 5.1 stack trace doesn't report filenames/functions
- From: barto at visionpro dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 31 Jan 2002 14:49:08 -0000
- Subject: gdb/322: 5.1 stack trace doesn't report filenames/functions
- Reply-to: barto at visionpro dot com
>Number: 322
>Category: gdb
>Synopsis: 5.1 stack trace doesn't report filenames/functions
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 31 06:58:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: David Barto
>Release: 5.1
>Organization:
>Environment:
Sparc Solars 8, gdb 5.1 configured
>Description:
When running gdb 5.1, if you type ^C at the program and then
say 'where' you get a stack trace in which ALL shared library
calls report ??? as the function called.
If you use gdb 5.0, the trace displays correctly.
>How-To-Repeat:
gdb-5.1 ui3
run
where
#0 0xfd2d9bf0 in ?? ()
#1 0xfd2cdd18 in ?? ()
#2 0xfd2d0e8c in ?? ()
#3 0xfd4c9b10 in ?? ()
#4 0xfd4b512c in ?? ()
#5 0xff2f10fc in ?? ()
#6 0xff2f112c in ?? ()
#7 0xff2f1c44 in ?? ()
#8 0xff2f1e4c in ?? ()
#9 0xfd95dc00 in ?? ()
#10 0xfd9555ac in ?? ()
#11 0xfd954ff8 in ?? ()
#12 0x00024638 in main (argc=1, argv=0xffbee45c) at ui3_main.c:211
then
gdb-5.0 ui3
run
where
#0 0xfd2d9bf0 in __sigprocmask () from /lib/libthread.so.1
#1 0xfd2ce628 in _resetsig () from /lib/libthread.so.1
#2 0xfd2cdd18 in _sigon () from /lib/libthread.so.1
#3 0xfd2d0e8c in _thrp_kill () from /lib/libthread.so.1
#4 0xfd4c9b10 in raise () from /lib/libc.so.1
#5 0xfd4b512c in abort () from /lib/libc.so.1
#6 0xff2f10fc in __default_terminate ()
from /export/home/uber-rabbit/barto/mvp/work/pcb-solaris/lib/libmvpui3.so
#7 0xff2f112c in __terminate ()
from /export/home/uber-rabbit/barto/mvp/work/pcb-solaris/lib/libmvpui3.so
#8 0xff2f1c44 in throw_helper (eh=0xdae18, pc=0x23a23, my_udata=0xffbedf08,
offset_p=0xffbedf04)
from /export/home/uber-rabbit/barto/mvp/work/pcb-solaris/lib/libmvpui3.so
#9 0xff2f1e4c in __throw ()
from /export/home/uber-rabbit/barto/mvp/work/pcb-solaris/lib/libmvpui3.so
#10 0xfd95dc00 in __nw__7CommsegUii (amt=39244, flags=1) at getcseg.c:229
#11 0xfd9555ac in get_commseg () at HostCommseg.c:43
#12 0xfd954ff8 in get__6Uictrl () at HostCommseg.c:107
#13 0x24638 in main (argc=1, argv=0xffbee434) at ui3_main.c:211
(config file for gdb-5.1)
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../../src/gdb-5.1/configure --srcdir=../../src/gdb-5.1 --host=sparc-sun-solaris2
--target=sparc-sun-solaris2 --build=sparc-sun-solaris2 --prefix=/opt/mvplocal/g
cc-303 --exec_prefix=/opt/mvplocal/gcc-303 --with-minimal-bfd --with-gnu-ld --wi
th-ld=/opt/mvplocal/gcc-303/bin/ld --with-gnu-as --with-as=/opt/mvplocal/gcc-303
/bin/as --program-prefix= --norecursion
# using "mh-frag"
(config file for gdb-5.0)
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../../src/gdb-5.0/configure --srcdir=../../src/gdb-5.0 --host=sparc-sun-solaris2
--target=sparc-sun-solaris2 --build=sparc-sun-solaris2 --prefix=/opt/mvplocal/g
cc-303 --exec_prefix=/opt/mvplocal/gcc-303 --with-minimal-bfd --with-gnu-ld --wi
th-ld=/opt/mvplocal/gcc-303/bin/ld --with-gnu-as --with-as=/opt/mvplocal/gcc-303
/bin/as --program-prefix= --norecursion
# using "mh-frag"
binutils is currently at 2.11.2
config file for binutils 2.11.2
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
../../src/binutils-2.11.2/configure --srcdir=../../src/binutils-2.11.2 --host=sp
arc-sun-solaris2 --target=sparc-sun-solaris2 --build=sparc-sun-solaris2 --prefix
=/opt/mvplocal/gcc-303 --exec_prefix=/opt/mvplocal/gcc-303 --with-minimal-bfd --
with-gnu-ld --with-ld=/opt/mvplocal/gcc-303/bin/ld --with-gnu-as --with-as=/opt/
mvplocal/gcc-303/bin/as --program-prefix= --norecursion
# using "mh-frag"
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: