diff options
author | John Gilmore <gnu@cygnus> | 1992-02-28 03:26:45 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1992-02-28 03:26:45 +0000 |
commit | b543979cda1c55abab524c4dd9700d4bfe9f29dd (patch) | |
tree | 30e0ff3fa52e07caf1d33da40b323d1955e35f9f /gdb/mips-xdep.c | |
parent | b621d050502ddabfd2e1fbad9e25f6ebc389effe (diff) | |
download | gdb-b543979cda1c55abab524c4dd9700d4bfe9f29dd.zip gdb-b543979cda1c55abab524c4dd9700d4bfe9f29dd.tar.gz gdb-b543979cda1c55abab524c4dd9700d4bfe9f29dd.tar.bz2 |
* remote.c: Make it work for embedded MIPS. Increase buffer
size, and use throughout. Round buffer size up if too many regs.
Support baud rate setting and try for an 8-bit path. If
interrupted while waiting for target, send a ^C down the wire.
Avoid single-byte reads.
* tm-mips.h: Add more embedded-system registers to REGISTER_NAMES
and NUM_REGS.
* mips-xdep.h: Avoid the embedded regs when on Unix.
Diffstat (limited to 'gdb/mips-xdep.c')
-rw-r--r-- | gdb/mips-xdep.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/mips-xdep.c b/gdb/mips-xdep.c index b7e669d..d1f6319 100644 --- a/gdb/mips-xdep.c +++ b/gdb/mips-xdep.c @@ -1,5 +1,5 @@ /* Low level MIPS interface to ptrace, for GDB when running under Unix. - Copyright (C) 1988, 1989, 1991 Free Software Foundation, Inc. + Copyright 1988, 1989, 1991, 1992 Free Software Foundation, Inc. Contributed by Alessandro Forin(af@cs.cmu.edu) at CMU and by Per Bothner(bothner@cs.wisc.edu) at U.Wisconsin. @@ -144,7 +144,8 @@ store_inferior_registers (regno) { if (regno == ZERO_REGNUM || regno == PS_REGNUM || regno == BADVADDR_REGNUM || regno == CAUSE_REGNUM - || regno == FCRIR_REGNUM || regno == FP_REGNUM) + || regno == FCRIR_REGNUM || regno == FP_REGNUM + || (regno >= FIRST_EMBED_REGNUM && regno <= LAST_EMBED_REGNUM)) continue; regaddr = register_addr (regno, 1); errno = 0; |