gdb question

Tim Potter tpot at samba.org
Sun Dec 9 09:22:38 EST 2001


On Sat, Dec 08, 2001 at 05:29:08PM +1100, simonb at webone.com.au wrote:

> Hello,
> 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.

Oh wow - gdb poetry.  (-:


Tim.




More information about the linux mailing list