manpagez: man pages & more
info gdb
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

18.2.1 Using No value for GDBN with VxWorks

target vxworks machinename

A VxWorks system, attached via TCP/IP. The argument machinename is the target system's machine name or IP address.

On VxWorks, load links filename dynamically on the current target system as well as adding its symbols in No value for GDBN.

No value for GDBN enables developers to spawn and debug tasks running on networked VxWorks targets from a Unix host. Already-running tasks spawned from the VxWorks shell can also be debugged. No value for GDBN uses code that runs on both the Unix host and on the VxWorks target. The program No value for GDBP is installed and executed on the Unix host. (It may be installed with the name vxgdb, to distinguish it from a No value for GDBN for debugging programs on the host itself.)

VxWorks-timeout args

All VxWorks-based targets now support the option vxworks-timeout. This option is set by the user, and args represents the number of seconds No value for GDBN waits for responses to rpc's. You might use this if your VxWorks target is a slow software simulator or is on the far side of a thin network line.

The following information on connecting to VxWorks was current when this manual was produced; newer releases of VxWorks may use revised procedures.

To use No value for GDBN with VxWorks, you must rebuild your VxWorks kernel to include the remote debugging interface routines in the VxWorks library ‘rdb.a’. To do this, define INCLUDE_RDB in the VxWorks configuration file ‘configAll.h’ and rebuild your VxWorks kernel. The resulting kernel contains ‘rdb.a’, and spawns the source debugging task tRdbTask when VxWorks is booted. For more information on configuring and remaking VxWorks, see the manufacturer's manual.

Once you have included ‘rdb.a’ in your VxWorks system image and set your Unix execution search path to find No value for GDBN, you are ready to run No value for GDBN. From your Unix host, run No value for GDBP (or vxgdb, depending on your installation).

No value for GDBN comes up showing the prompt:

 
(vxgdb)

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.