[squid-users] squid debugging using gdb

From: Subbarao Gaddamadugu <sgaddama@dont-contact.us>
Date: Tue, 10 Jul 2001 22:34:04 -0400 (EDT)

I am trying to trace the stack after segmentation fault while
running under gdb.
eventhough squid is compiled with -g, i don't see the symbols in the
trace, instead addresses are printed. am i missing any thing?
i have set the Directories using $cdir for source path.

Program received signal SIGSEGV, Segmentation fault.
0x0809df27 in ?? ()
(gdb) where
#0 0x0809df27 in ?? ()
#1 0x0805710b in ?? ()
#2 0x08099bf8 in ?? ()
#3 0x08060ebe in ?? ()
#4 0x0808a235 in ?? ()
#5 0x0808aa4e in ?? ()
#6 0x0808a76e in ?? ()
#7 0x0805b0bf in ?? ()
#8 0x0805aca9 in ?? ()
#9 0x0805d455 in ?? ()
#10 0x0805f95b in ?? ()
#11 0x08078da2 in ?? ()
#12 0x400bc177 in __libc_start_main (main=0x80789bc, argc=2,
    ubp_av=0xbffff7dc, init=0x8049c60, fini=0x809e400,
    rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff7cc)
    at ../sysdeps/generic/libc-start.c:129
(gdb)
Received on Tue Jul 10 2001 - 20:34:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:05 MST