Just-In-Time debugging with GDB
Michael Elizabeth Chastain
chastain@cygnus.com
Sun Aug 20 18:37:00 GMT 2000
Hi Mike,
> Is there some technique I can use to determine if my program is
> running under the control of gdb?
In general, tracing a child doesn't disturb the child in a detectable
way.
You could call getppid() and then have a look at that process one way
or another (shell out to 'ps --pid $getppid()').
Michael Elizabeth Chastain
< mailto:chastain@redhat.com >
"love without fear"
More information about the Gdb
mailing list