The polite way to use gdb on Nagios.

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Fri Jan 16 06:02:36 CET 2004


Dear Ladies and Gentlemen,


<Off topic>

Please would some helpful person share some clues about the use of gdb 
with Nagios ?

I would like to examine code in base/checks.c that is run by child 
processes.

Even with 'follow-fork-mode' set (to either child or parent), the only 
code that gdb wants to know about is that run by the parent.

Set the pid to 0 ?

The gdb tutorials I have found don't seem helpful.

Are the debugging #ifdefs/configure --DEBUGn the only way ?

</Off topic>

Thank you,

Yours sincerely.

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list