Specifications

RDI DRIVERS FOR THIRD PARTY ARM DEBUGGERS
WITH JTAGJET
11
2. Start the gdb debugger. To
establish connection with the
GDBserver, run “target remote
<host>:<port>” command, as
shown in the following
examples.
To connect to the server from a remote host computer named
“celeronti” via port 9000, enter:
target remote celeronti:9000
To connect to the server on the local machine, enter:
target remote localhost:9000
As another example, the beginning of a remote debug session might look like
this:
$ arm-elf-gdb x.elf
GNU gdb 5.3
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General
Public License, and you are
welcome to change it and/or distribute copies of it
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type
"show warranty" for details.
This GDB was configured as "--host=i686-pc-cygwin -
-target=arm-elf"...
(gdb) target remote celeronti:9000
Remote debugging using celeronti:9000
main () at x.c:34
34 a = 0;
(gdb) load x.elf
Loading section .text, size 0x1f10 lma 0x8000
Loading section ..rodata, size 0x29 lma 0x9f10
Loading section .data, size 0x850 lma 0xa03c
Loading section .ctors, size 0x8 lma 0xa88c
Loading section ..dtors, size 0x8 lma 0xa894
Note: The server folder contains the
cygwin1.dll library file. You may want
to rename this file if it is in conflict
with your version of cygwin1.dll.