https://bugzilla.novell.com/show_bug.cgi?id=390722
User mmeeks@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=390722#c1
--- Comment #1 from Michael Meeks 2008-05-15 05:35:45 MST ---
Created an attachment (id=215511)
--> (https://bugzilla.novell.com/attachment.cgi?id=215511)
gdb test-case: run 'make'
I run make here and see:
(gdb) bt
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x400db0f0 in __nanosleep_nocancel () from /lib/libc.so.6
#2 0x400daefe in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:138
#3 0x0804858b in ?? ()
#4 0x00000000 in ?? ()
I would expect gdb to be able to wander back up the stack frames giving at
least vaguely intelligent information for each frame - in particular for
trace_two - which should have good debuginfo.
Note - if I remove the 'strip ./a.out' from the Makefile I get:
(gdb) bt
#0 0xffffe430 in __kernel_vsyscall ()
#1 0x400db0f0 in __nanosleep_nocancel () from /lib/libc.so.6
#2 0x400daefe in __sleep (seconds=0) at ../sysdeps/unix/sysv/linux/sleep.c:138
#3 0x0804858b in trace_zero ()
#4 0x080485a5 in trace_one ()
#5 0x4001e4ac in trace_two (fn=0x804858d ) at two.c:8
#6 0x080485b9 in trace_three ()
#7 0x080485d1 in main ()
which is much more like what I would expect to get .
HTH.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.