diff options
author | David Carlton <carlton@bactrian.org> | 2002-11-15 19:19:28 +0000 |
---|---|---|
committer | David Carlton <carlton@bactrian.org> | 2002-11-15 19:19:28 +0000 |
commit | fb8abdb0ebe68c5fb20228d81bebbf45782c052c (patch) | |
tree | 621da7c283d7d3bd0e9ca87bfdb53e5fcfcb72ac /gdb/mips-linux-nat.c | |
parent | 1e04139942197a796f7ab9dadeeaac2e78a301d4 (diff) | |
download | gdb-fb8abdb0ebe68c5fb20228d81bebbf45782c052c.zip gdb-fb8abdb0ebe68c5fb20228d81bebbf45782c052c.tar.gz gdb-fb8abdb0ebe68c5fb20228d81bebbf45782c052c.tar.bz2 |
2002-11-15 David Carlton <carlton@math.stanford.edu>
* Merge from mainline; tag is carlton_dictionary-20021115-merge.
Diffstat (limited to 'gdb/mips-linux-nat.c')
-rw-r--r-- | gdb/mips-linux-nat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/mips-linux-nat.c b/gdb/mips-linux-nat.c index 454520d..a0469f6 100644 --- a/gdb/mips-linux-nat.c +++ b/gdb/mips-linux-nat.c @@ -29,6 +29,8 @@ int mips_linux_cannot_fetch_register (int regno) { + if (REGISTER_NAME (regno)[0] == 0) + return 1; if (regno == PS_REGNUM) return 1; else if (regno == ZERO_REGNUM) @@ -40,6 +42,8 @@ mips_linux_cannot_fetch_register (int regno) int mips_linux_cannot_store_register (int regno) { + if (REGISTER_NAME (regno)[0] == 0) + return 1; if (regno == PS_REGNUM) return 1; else if (regno == ZERO_REGNUM) |