Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  Index 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: vxgdb
From: Dayle Kotturi <dayle@noao.edu>
To: "Christopher A. Larrieu" <larrieu@jlab.org>
Cc: tech-talk <tech-talk@aps.anl.gov>
Date: Fri, 3 Sep 1999 16:48:02 -0700 (MST)
Chris,

I have used vxgdb on a sun to attach to a task on VxWorks and
let me step through it. 

I run vxgdb from the directory where the object files are (eg O.mv167).
>From within the debugger, I change dir to one level above (where the
source is).

Then, I attach to the crate via:
target vxworks <name of crate, eg sim4>

>From there you can do whatever you want. Eg, to set values:
set <varName>="<value>"

hope this helps,
Dayle

PS: With tornado, vxgdb got a new name (which I don't remember)

On Fri, 3 Sep 1999, Christopher A. Larrieu wrote:

> This is somewhat off the topic, but Eric's mention of "fancy
> debugging tools", reminded me that I was curious:
> 
>   Has anybody tried using gdb on a unix machine to debug
> a process on VxWorks?  I've managed to get halfway there,
> but have not been entirely successful.  Seems like it
> could be useful.
> 
> Chris
> --
> Christopher A. Larrieu
> Jefferson Laboratory
> (757) 269-5097
> 

***********************************************************************
Dayle Kotturi        
Gemini North Observatory
Street Address:  670 N. A'ohoku Place, Hilo, HI  96720
Mailing Address: P.O. Box 485, Hilo, HI 96721
***********************************************************************





References:
Re: IOC Christopher A. Larrieu

Navigate by Date:
Prev: Re: IOC CA client limit? Andrew Johnson
Next: GPIB Support @ BESSY Benjamin Franksen
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: IOC Christopher A. Larrieu
Next: gdb [was Re: IOC] Benjamin Franksen
Index: 1994  1995  1996  1997  1998  <19992000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·