172
Chapter 20. Configuration-Specific Information
target dbug
dev
dBUG ROM monitor for Motorola ColdFire.
target est
dev
EST-300 ICE monitor, running on a CPU32 (M68K) board.
target rom68k
dev
ROM 68K monitor, running on an M68K IDP board.
target rombug
dev
ROMBUG ROM monitor for OS/9000.
20.3.6. MIPS Embedded
gdb can use the MIPS remote debugging protocol to talk to a MIPS board attached to a serial line.
This is available when you configure gdb with
-target=mips-idt-ecoff
.
Use these gdb commands to specify the connection to your target board:
target mips
port
To run a program on the board, start up
gdb
with the name of your program as the argument.
To connect to the board, use the command
target mips
port
, where
port
is the name of the
serial port connected to the board. If the program has not already been downloaded to the board,
you may use the
load
command to download it. You can then use all the usual gdb commands.
For example, this sequence connects to the target board through a serial port, and loads and runs
a program called
prog
through the debugger:
host$ gdb
prog
gdb is free software and ...
(gdb) target mips /dev/ttyb
(gdb) load
prog
(gdb) run
target mips
hostname
:
portnumber
On some gdb host configurations, you can specify a TCP connection (for instance, to a
serial line managed by a terminal concentrator) instead of a serial port, using the syntax
hostname
:
portnumber
.
target pmon
port
PMON ROM monitor.
target ddb
port
NEC’s DDB variant of PMON for Vr4300.
target lsi
port
LSI variant of PMON.
target r3900
dev
Densan DVE-R3900 ROM monitor for Toshiba R3900 Mips.
Summary of Contents for ENTERPRISE LINUX 4 - DEVELOPER TOOLS GUIDE
Page 1: ...Red Hat Enterprise Linux 4 Debugging with gdb ...
Page 12: ...2 Chapter 1 Debugging with gdb ...
Page 28: ...18 Chapter 4 Getting In and Out of gdb ...
Page 34: ...24 Chapter 5 gdb Commands ...
Page 44: ...34 Chapter 6 Running Programs Under gdb ...
Page 68: ...58 Chapter 8 Examining the Stack ...
Page 98: ...88 Chapter 10 Examining Data ...
Page 112: ...102 Chapter 12 Tracepoints ...
Page 118: ...108 Chapter 13 Debugging Programs That Use Overlays ...
Page 138: ...128 Chapter 14 Using gdb with Different Languages ...
Page 144: ...134 Chapter 15 Examining the Symbol Table ...
Page 170: ...160 Chapter 19 Debugging remote programs ...
Page 198: ...188 Chapter 21 Controlling gdb ...
Page 204: ...194 Chapter 22 Canned Sequences of Commands ...
Page 206: ...196 Chapter 23 Command Interpreters ...
Page 216: ...206 Chapter 25 Using gdb under gnu Emacs ...
Page 296: ...286 Chapter 27 gdb Annotations ...
Page 300: ...290 Chapter 28 Reporting Bugs in gdb ...
Page 322: ...312 Chapter 30 Using History Interactively ...
Page 362: ...352 Appendix D gdb Remote Serial Protocol ...
Page 380: ...370 Appendix F GNU GENERAL PUBLIC LICENSE ...
Page 386: ...376 Appendix G GNU Free Documentation License ...
Page 410: ......