debugging

rahulmode move2rahul at yahoo.co.in
Thu Jan 3 00:23:40 PST 2008


> what am I missing. I would like to debug cupsd, so I run 'configure
> --enable-debug' etc.... but still gdb doesn't find the debug source, any
> ideas (suse 9.1)?
>
> thanks, atze.


Hey, any progress on this issue??
i m facing the same prob ..
i followed the following steps...

####

#./configure --enable-debug
# make
#make install

#/etc/init.d/cups start
#gdb cupsd

(gdb) attach (pid ofcupsd)
(gdb) b httpUpdate
(gdb) run cupsd

####


But after that i got all error messages ::
(gdb) run -X -d /usr/sbin/cupsd
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/sbin/cupsd -X -d /usr/sbin/cupsd
(no debugging symbols found)...Breakpoint 1 at 0x804c2cc
(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...
Breakpoint 1 at 0x40139b62: file http.c, line 1565.
cupsd: Unknown option 'X' - aborting!
Usage: cupsd [-c config-file] [-f] [-F]

Program exited with code 01.


####



any suggestions??




More information about the cups-devel mailing list