mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-24 02:37:23 +08:00
* mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch
registers without a name. (mips_linux_cannot_store_register): Don't store registers without a name.
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
2002-10-29 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch
|
||||
registers without a name.
|
||||
(mips_linux_cannot_store_register): Don't store registers without
|
||||
a name.
|
||||
|
||||
2002-10-28 David Carlton <carlton@math.stanford.edu>
|
||||
|
||||
* symtab.c (find_addr_symbol): Delete. (It was already commented
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user