[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
17. Debugging Remote Programs
If you are trying to debug a program running on a machine that cannot run No value for GDBN 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 No value for GDBN have special serial or TCP/IP interfaces to make this work with particular debugging targets. In addition, No value for GDBN comes with a generic serial protocol (specific to No value for GDBN, 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 No value for GDBN.
Other remote targets may be available in your
configuration of No value for GDBN; use help target
to list them.
17.1 Connecting to a Remote Target | Connecting to a remote target | |
17.2 Using the gdbserver Program | Using the gdbserver program | |
17.3 Remote Configuration | Remote configuration | |
17.4 Implementing a Remote Stub | Implementing a remote stub |