Gary Benson

Gary Benson's contributions

GNU C library
Article

Remote debugging with GDB

Gary Benson

This past few weeks I've been working on making remote debugging in GDB easier to use. What's remote debugging? It's where you run GDB on one machine and the program being debugged on another. To do this you need something to allow GDB to control the program being debugged, and that something is called the remote stub. GDB ships with a remote stub called gdbserver, but other remote stubs exist. You can write them into your own program too, which...