![Phytec Linux-Kit phyCARD-M Quick Start Instructions Download Page 84](http://html1.mh-extra.com/html/phytec/linux-kit-phycard-m/linux-kit-phycard-m_quick-start-instructions_1554142084.webp)
phyCARD-M
Quick Start Instructions
4.1
Starting the GDB Server on the Target
In this passage you will learn how to start the GDB server on the target.
The GDB server will be used to start and control the
myHelloWorld
program.
To debug a program with GDB, the program needs extended debugging
symbols. This has already been added while building the program.
•
Open Microcom.
•
Type
root
and press
Enter.
•
Start the GDB server:
gdbserver 192.168.3.11:10000 myHelloWorld
You have started the GDB server on the target. The GDB server is now
waiting for connections on TCP port 10000.
80
© 2010 PHYTEC Messtechnik GmbH L-746e_1