diff options
author | Roland Pesch <pesch@cygnus> | 1993-05-06 23:48:43 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1993-05-06 23:48:43 +0000 |
commit | 34ae25cd8763706240ca81ad461576ac6334b9b9 (patch) | |
tree | 2d62be984220e61b7c591d0b04964d7157a59dbc /gdb/doc/gdbinv-s.texi | |
parent | 2c298c0922a83adfe6638b6be8e3e1f9e6119191 (diff) | |
download | gdb-34ae25cd8763706240ca81ad461576ac6334b9b9.zip gdb-34ae25cd8763706240ca81ad461576ac6334b9b9.tar.gz gdb-34ae25cd8763706240ca81ad461576ac6334b9b9.tar.bz2 |
New material for MIPS Remote thanks to Ian, and minor miscellany:
* all-config.texi (MIPS) new switch.
* gdbinv-s.texi (Nindy Options) Remove two instances of future
tense; (MIPS Remote) new node.
* gdb.texinfo (passim) rephrases to work around makeinfo @value
bug; (Environment) less passive, other small cleanups in text about
.cshrc/.bashrc; (Invoking GDB) new MIPS Remote menu entry;
(Remote) new MIPS Remote menu entry.
Diffstat (limited to 'gdb/doc/gdbinv-s.texi')
-rw-r--r-- | gdb/doc/gdbinv-s.texi | 41 |
1 files changed, 39 insertions, 2 deletions
diff --git a/gdb/doc/gdbinv-s.texi b/gdb/doc/gdbinv-s.texi index 234cbdc..e5fd907 100644 --- a/gdb/doc/gdbinv-s.texi +++ b/gdb/doc/gdbinv-s.texi @@ -411,8 +411,8 @@ target architecture. @quotation @emph{Warning:} if you specify @samp{-O}, but are actually trying to connect to a target system that expects the newer protocol, the connection -will fail, appearing to be a speed mismatch. @value{GDBN} will repeatedly -attempt to reconnect at several different line speeds. You can abort +fails, appearing to be a speed mismatch. @value{GDBN} repeatedly +attempts to reconnect at several different line speeds. You can abort this process with an interrupt. @end quotation @@ -974,6 +974,43 @@ development board as a ``normal exit'' of your program. @end ifset @end ifset +@ifset MIPS +@node MIPS Remote +@subsection @value{GDBN} and remote MIPS boards + +@cindex MIPS boards +@value{GDBN} can use the MIPS remote debugging protocol to talk to a +MIPS board attached to a serial line. This is available when +you configure @value{GDBN} with @samp{--target=mips-idt-ecoff}. + +@kindex target mips @var{port} +To run a program on the board, start up @code{@value{GDBP}} with the +name of your program as the argument. To connect to the board, use the +command @samp{target mips @var{port}}, where @var{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 @code{load} command to +download it. You can then use all the usual @value{GDBN} commands. + +@cindex @code{remotedebug}, MIPS protocol +@c FIXME! For this to be useful, you must know something about the MIPS +@c FIXME...protocol. Where is it described? +You can see some debugging information about communications with the board +by setting the @code{remotedebug} variable. If you set it to 1 using +@samp{set remotedebug 1} every packet will be displayed. If you set it +to 2 every character will be displayed. You can check the current value +at any time with the command @samp{show remotedebug}. + +@kindex set mipsfpu off +@cindex MIPS remote floating point +@cindex floating point, MIPS remote +If your target board does not support the MIPS floating point +coprocessor, you should use the command @samp{set mipsfpu off} (you may +wish to put this in your @value{GDBINIT} file). This will tell +@value{GDBN} how to find the return value of functions which return +floating point values, and tell it to call functions on the board +without saving the floating point registers. +@end ifset + @ifset SIMS @node Simulator @subsection Simulated CPU target |