The GDB command target
lets you connect to a VxWorks target on the
network. To connect to a target whose host name is "tt
", type:
(vxgdb) target vxworks tt
GDB displays messages like these:
Attaching remote machine across net... Connected to tt.
GDB then attempts to read the symbol tables of any object modules loaded into the VxWorks target since it was last booted. GDB locates these files by searching the directories listed in the command search path (see section Your program's environment); if it fails to find an object file, it displays a message such as:
prog.o: No such file or directory.
When this happens, add the appropriate directory to the search path with
the GDB command path
, and execute the target
command again.
Go to the first, previous, next, last section, table of contents.