*BSD News Article 97811


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!news.apfel.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Xperfmon++ problem
Date: 14 Jun 1997 22:24:42 GMT
Organization: Private BSD site, Dresden
Lines: 19
Message-ID: <5nv5na$201@uriah.heep.sax.de>
References: <no3pm5.g24.ln@dolphin.neosoft.com> <33936663.3B18@nospam.com>
  <5nbspg$2h6@uriah.heep.sax.de> <339F03C6.4DAA@nas.nasa.gov>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:42965

Hugh LaMaster <lamaster@nas.nasa.gov> wrote:

>   I can attempt to investigate it if someone wants
> to give me suggestions on how to investigate.  I tried running it
> under gdb, and when it died after a few seconds, with the above
> error, gdb said: "Program exited with code 01".  Then, when I
> typed "where", gdb said: "No stack."  hmm.

Set a breakpoint on just `main' first, and start the program in gdb.
Reaching this breakpoint, the shared libs are loaded, and you can set
a breakpoint on `exit'.  This should allow you to catch the point
where it is giving up.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)