diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-05-02 09:36:57 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-05-02 09:36:57 +0000 |
commit | 03863182248f30818d11417609a7e576fefe705b (patch) | |
tree | 527f6a6a9029f14d94119ada4dea5e53e25dc323 /gdb/procfs.c | |
parent | d7446e7568e7d6f5c49ed29f9184c94f09956a82 (diff) | |
download | gdb-03863182248f30818d11417609a7e576fefe705b.zip gdb-03863182248f30818d11417609a7e576fefe705b.tar.gz gdb-03863182248f30818d11417609a7e576fefe705b.tar.bz2 |
Multi-arch NPC_REGNUM NNPC_REGNUM.
Diffstat (limited to 'gdb/procfs.c')
-rw-r--r-- | gdb/procfs.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/procfs.c b/gdb/procfs.c index 686e4be..2dfde70 100644 --- a/gdb/procfs.c +++ b/gdb/procfs.c @@ -3531,9 +3531,7 @@ procfs_fetch_registers (regno) #if defined (FP0_REGNUM) /* need floating point? */ if ((regno >= 0 && regno < FP0_REGNUM) || regno == PC_REGNUM || -#ifdef NPC_REGNUM - regno == NPC_REGNUM || -#endif + (NPC_REGNUM >= 0 && regno == NPC_REGNUM) || regno == FP_REGNUM || regno == SP_REGNUM) return; /* not a floating point register */ @@ -3607,9 +3605,7 @@ procfs_store_registers (regno) #if defined (FP0_REGNUM) /* need floating point? */ if ((regno >= 0 && regno < FP0_REGNUM) || regno == PC_REGNUM || -#ifdef NPC_REGNUM - regno == NPC_REGNUM || -#endif + (NPC_REGNUM >= 0 && regno == NPC_REGNUM) || regno == FP_REGNUM || regno == SP_REGNUM) return; /* not a floating point register */ |