gdb question (details)

simonb at webone.com.au simonb at webone.com.au
Sat Dec 8 17:36:08 EST 2001


OK
i have no short example, but
this is from the xoscope project (on sf.net):

(gdb) bt
#0  0x40407f44 in __libc_read () from /lib/i686/libc.so.6
#1  0x404589e4 in __DTOR_END__ () from /lib/i686/libc.so.6
#2  0x0804c909 in resetsoundcard (rate=44100) at oscope.c:211
#3  0x0804d5af in main (argc=1, argv=0xbffff8f4) at oscope.c:550
#4  0x4034a177 in __libc_start_main (main=0x804d4c0 <main>, argc=1,
    ubp_av=0xbffff8f4, init=0x804b854 <_init>,
    fini=0x8059280 <_fini>, rtld_fini=0x4000e184 <_dl_fini>,
    stack_end=0xbffff8ec) at ../sysdeps/generic/libc-start.c:129
(gdb)

Between #1 and #2 It is actually in another function.
I think it's blocking on a read; it's blocking somewhere anyway.

Once again: compiled with -O0 and -g

Simon Burton







More information about the linux mailing list