[WAY OT] how to gdb a running process *non-intrusively*??

Robert P. J. Day rpjday at crashcourse.ca
Thu Apr 17 10:25:54 UTC 2008


  sorry for the massively OT post but it's 3:30 am where i am, and i'd
like to figure this out in the next hour or two.  how can i use "gdb"
to debug a currently running process *non-intrusively* -- i.e.,
without attaching to it which causes it to stop, even briefly?  i
could have sworn there was a way to do that, but my memory is failing
me at the moment.

  assume i have a symbol-laden copy of the executable, and that all i
want to do is, in real time, print variable contents as the process
continues to run with no interference of the process itself.  thanks
muchly.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================




More information about the fedora-list mailing list