* 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:
parent
df2a731323
commit
2c665b51d2
2 changed files with 11 additions and 0 deletions
|
@ -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>
|
2002-10-28 David Carlton <carlton@math.stanford.edu>
|
||||||
|
|
||||||
* symtab.c (find_addr_symbol): Delete. (It was already commented
|
* symtab.c (find_addr_symbol): Delete. (It was already commented
|
||||||
|
|
|
@ -29,6 +29,8 @@
|
||||||
int
|
int
|
||||||
mips_linux_cannot_fetch_register (int regno)
|
mips_linux_cannot_fetch_register (int regno)
|
||||||
{
|
{
|
||||||
|
if (REGISTER_NAME (regno)[0] == 0)
|
||||||
|
return 1;
|
||||||
if (regno == PS_REGNUM)
|
if (regno == PS_REGNUM)
|
||||||
return 1;
|
return 1;
|
||||||
else if (regno == ZERO_REGNUM)
|
else if (regno == ZERO_REGNUM)
|
||||||
|
@ -40,6 +42,8 @@ mips_linux_cannot_fetch_register (int regno)
|
||||||
int
|
int
|
||||||
mips_linux_cannot_store_register (int regno)
|
mips_linux_cannot_store_register (int regno)
|
||||||
{
|
{
|
||||||
|
if (REGISTER_NAME (regno)[0] == 0)
|
||||||
|
return 1;
|
||||||
if (regno == PS_REGNUM)
|
if (regno == PS_REGNUM)
|
||||||
return 1;
|
return 1;
|
||||||
else if (regno == ZERO_REGNUM)
|
else if (regno == ZERO_REGNUM)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue