Newsgroups: comp.parallel.pvm
From: jeff@Adeno.wistar.upenn.edu (Jeff Taylor)
Subject: Re: Debbuger for PVM under linux (again)
Organization: University of Pennsylvania
Date: 12 Jun 1996 22:20:43 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-ID: <4pnfrr$ueo@netnews.upenn.edu>

In article <4pn3dl$853@what.why.net>,
	jimmy@why.net (Jimmy) writes:
> Sorry, I did not stay clear what I want last time.  Here is what I want 
> to say:
> 
> I want a debugger for normal text mode(not X window) which it can 
> debug my program's parent and child process.  It is because when I use 
> gdb, it only trace my parent.
> 
> sorry for misunderstand and 
> thank you for you guys help :)
>

If you spawn a child process with the debug flag set in 'pvm_spawn' then
it will execute the script in 'PVM_ROOT/lib/debugger' with your child program's
name as an argument.  In most distributions PVM comes with a script called,
'PVM_ROOT/lib/debugger' which will open an Xwindow and start gdb or dbx, or
whatever dubber you use.  If you are not using Xwindows, you'll have to edit
this script to your needs.

Hope this helps.

Jeff 

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Jeffrey S. Taylor				Protein Crystallography
The Wistar Institute and			Molecular Modelling
The University of Pennsylvania			Software development
Philadelphia, PA 19104				Molecular Biology
(215) 898-2202			E-Mail    Jeff@aries.wistar.upenn.edu	
				WWW	http://adeno.wistar.upenn.edu
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

