This is the mail archive of the gdb@sourceware.org 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 6.6: incomplete backtraces ?


Hello,

while researching for another problem, I found this :

gdb 6.6, compiled by myself:
--------------------------------------------------------------------------------
gru@CMDevLin2 >/home/gru/gdb-6.6/bin/gdb dafit_x86.bin 
GNU gdb 6.6
(gdb) catch fork
Catchpoint 1 (fork)
(gdb) run
[...]
Catchpoint 1 (forked process 26023), 0xb7fa1410 in ?? ()
(gdb) bt
#0  0xb7fa1410 in ?? ()
#1  0x00000001 in ?? ()
#2  0x00000000 in ?? ()
(gdb) show backtrace limit
An upper bound on the number of backtrace levels is unlimited.
--------------------------------------------------------------------------------

Hey, that's quite short ! No matter which catchpoint is hit, I get only 3 
frames ...


gdb 6.3, debian:
--------------------------------------------------------------------------------
gru@CMDevLin2 >/usr/bin/gdb dafit_x86.bin 
GNU gdb 6.3-debian

(gdb) catch fork
Catchpoint 1 (fork)
(gdb) run
[...]
Catchpoint 1 (forked process 25938), 0xb7f66410 in ?? ()
(gdb) bt
#0  0xb7f66410 in ?? ()
#1  0x00000001 in ?? ()
#2  0x00000000 in ?? ()
#3  0xb727661e in strtold_l () from /lib/tls/i686/cmov/libc.so.6
#4  0xb73ebadd in system () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x080f9827 in CPTApplication::SetupTmpDir (this=0x90f7260)
    at 
/home/gru/projects/vxp/branches/branch-0-2-00-X/Dafit_Code/dafit2/dafit2/CPTApplication.cpp:1676
#6  0x080f50a4 in CPTApplication::CPTApplication (this=0x90f7260, 
nSuccess=@0xbfdbe0b4, nArgc=1, aszArgv=0xbfdbe134)
    at 
/home/gru/projects/vxp/branches/branch-0-2-00-X/Dafit_Code/dafit2/dafit2/CPTApplication.cpp:467
#7  0x080fbafa in main (nArgs=1, aszArgs=0xbfdbe134) at 
/home/gru/projects/vxp/branches/branch-0-2-00-X/Dafit_Code/dafit2/dafit2/main.cpp:55
--------------------------------------------------------------------------------

That's better ! What could this be ?

Mit freundlichen Grüßen

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200

PRÜFTECHNIK Condition Monitoring GmbH
Sitz Ismaning / HRB 145655 München 
Geschäftsführer: Johann Lösl, Roland Schühle

Ein Unternehmen der PRÜFTECHNIK-Gruppe


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