* 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
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue