Remote Debugging
In remote debugging, the executable being debugged and the debugger run on different computers. The executable runs on the target computer, and the debugger runs on the host computer. Remote debugging requires a debugging server running on the target computer. The debugging server, gdbserver, interfaces the target executable with the host debugger, gdb. The debugging server and the debugger converse over a communications link. You are using the TCP/IP Ethernet network, but serial links can also be used. After link establishment, the debugging process proceeds like a local debugging session.
In this section, you'll boot the MediaEngine, tbdevarm, as you did in Chapter 4, “Booting Linux,” and then you'll run gdbserver on it. (In ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access