Quote:
Originally Posted by jujose
How can i do gdb for daemon process ?
|
run it in non-background mode.
Quote:
Originally Posted by jujose
I am creating a daemon process... and when i try to run it on gdb i got exited when the parent process exiting..
|
Afaik when you debug process, and process creates child process and stops itself, gdb created "stopped" copy of gdb debugging child process. Copy can be brought to life by entering "fg" command. I'm not sure if that apply to daemon processes, but that work with other apps.