WAGO 750 Series Manual page 127

Linux fieldbus coupler
Hide thumbs Also See for 750 Series:
Table of Contents

Advertisement

Fig. 5-6: Starting the GDB server on the 750-860
The GDB server will now wait for a connection request (
GDB client via port 1234 of IP address 192.168.1.4. Port 1234 is chosen
arbitrarily, another port can also be used, of course.
To start GDB on the Linux PC, enter the following calls:
> cd ~/uclinux-dist/user/newProg
> arm-uclinux-elf-gdb newProg.gdb --command=gdb.script
Fig. 5-7: Starting GDB on the PC
You can use the following commands for debugging:
GDB command Description
step
stepi
next
nexti
continue
WAGO-I/O-SYSTEM 750
Linux Fieldbus Coupler
Step-by-Step Guide to your own Linux Application • 123
Debugging of User Space Programs
The program is executed until the next program line is reached. Also steps
into subroutines if it is the next code line.
The program is executed until the next assembler code line.
The program is executed until the next program line is reached. Skips
subroutines.
The program is executed until the next assembler code line. Skips
subroutines.
Continues to execute the program. The next breakpoint or pressing
STRG+C tops the execution.
) of the
Listening

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

750-860

Table of Contents