Content deleted Content added
m →How it works: lang="c"<-"gdb" |
m →How it works: <source lang="console"> |
||
Line 12:
Example for debugging a program called <code>hello_world</code> on a remote target using TCP ("2159" is the [[List_of_TCP_and_UDP_port_numbers#Registered_ports|registered TCP port number for remote GDB]]):
<source lang="console">
remote@~$ gdbserver :2159 hello_world
Process hello_world created; pid = 2509
Listening on port 2159
</
<source lang="
local@~$ gdb -q hello_world
Reading symbols from /home/user/hello_world...done.
|