gdb question

simonb at simonb at
Sat Dec 8 17:29:08 EST 2001

sometimes when i'm debugging
my c proggy with gdb, it seems
to skip frames: ie. i do a "bt" and
it misses a function
call on the stack, and skip to
the libc call on top.
I notice that -O options to gcc
do this, but i'm not using -O
and I even tried -O0.
Maybe i need to compile libc
with appropriate options?
Obviously i'm guessing here.

Simon Burton

More information about the linux mailing list