Go to the first, previous, next, last section, table of contents.


Remote debugging

If you are trying to debug a program running on a machine that cannot run in the usual way, it is often useful to use remote debugging. For example, you might use remote debugging on an operating system kernel, or on a small system which does not have a general purpose operating system powerful enough to run a full-featured debugger.

Some configurations of have special serial or TCP/IP interfaces to make this work with particular debugging targets. In addition, comes with a generic serial protocol (specific to , but not specific to any particular target system) which you can use if you write the remote stubs--the code that runs on the remote system to communicate with .

Other remote targets may be available in your configuration of ; use help target to list them.

The debugging stub is specific to the architecture of the remote machine; for example, use `sparc-stub.c' to debug programs on SPARC boards. These working remote stubs are distributed with :
sparc-stub.c
For SPARC architectures.
m68k-stub.c
For Motorola 680x0 architectures.
i386-stub.c
For Intel 386 and compatible architectures.
The `README' file in the distribution may list other recently added stubs.


Go to the first, previous, next, last section, table of contents.