This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: backtrace/1574: Stack is not entirely shown (gdb 6.0 C C++ backtracelimit)
- From: Johan Zaxmy <johan dot zaxmy at ida dot his dot se>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 30 Mar 2004 13:38:02 -0000
- Subject: Re: backtrace/1574: Stack is not entirely shown (gdb 6.0 C C++ backtracelimit)
- Reply-to: Johan Zaxmy <johan dot zaxmy at ida dot his dot se>
The following reply was made to PR backtrace/1574; it has been noted by GNATS.
From: Johan Zaxmy <johan.zaxmy@ida.his.se>
To: gdb-gnats@sources.redhat.com
Cc:
Subject: Re: backtrace/1574: Stack is not entirely shown (gdb 6.0 C C++ backtrace
limit)
Date: Tue, 30 Mar 2004 15:29:04 +0200
The same problem appears for us.
johanc@frigg[56]:~/C$g++ -v
Reading specs from /usr/local/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs
Configured with: ../configure --prefix=/software/gcc-3.3.2 --disable-nls
Thread model: posix
gcc version 3.3.2
johanc@frigg[58]:~/C$ldd `which g++`
libc.so.1 => /usr/lib/libc.so.1
libdl.so.1 => /usr/lib/libdl.so.1
/usr/platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
johanc@frigg[57]:~/C$gdb -v
GNU gdb 6.0
Copyright 2003 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.8".
johanc@frigg[59]:~/C$ldd `which gdb`
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libcurses.so.1 => /usr/lib/libcurses.so.1
libm.so.1 => /usr/lib/libm.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
johanc@frigg[61]:~/C$uname -a
SunOS frigg 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-880
Running example toto.cc
johanc@frigg[63]:~/C$gdb toto
GNU gdb 6.0
Copyright 2003 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.8"...
(gdb) b f6
Breakpoint 1 at 0x10cb8: file toto.cc, line 40.
(gdb) r
Starting program: /home/staff/larare/johanc/C/toto
Breakpoint 1, f6() () at toto.cc:40
40 cout << "In f6 function" << endl ;
(gdb) bt
#0 f6() () at toto.cc:40
#1 0x00010ca8 in f5() () at toto.cc:35
#2 0x00010c90 in f4() () at toto.cc:30
(gdb)
Johan Zaxmy, University of Skövde