diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-07-24 14:35:14 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2000-07-24 14:35:14 +0000 |
commit | c61ea56d06e2d050f2ab0970068cf384b9593400 (patch) | |
tree | ae687eec460bc703e4f840b52c2737122085e502 /gdb/regcache.c | |
parent | 1ad9dbdcf4cbe29128cdb16184e60a19b9ffbb2b (diff) | |
download | gdb-c61ea56d06e2d050f2ab0970068cf384b9593400.tar.gz |
2000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* gdbarch.sh: Add FETCH_PSEUDO_REGISTER and STORE_PSEUDO_REGISTER
to the gdbarch structure.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* inferior.h (FETCH_PSEUDO_REGISTER, STORE_PSEUDO_REGISTER):
Delete macros.
* regcache.c (write_register, read_register, write_register_bytes,
write_register_gen, read_register_bytes, read_register_gen):
Rename ARCH_FECTH_PSEUDO_REGISTERS to FETCH_PSEUDO_REGISTERS and
ARCH_STORE_PSEUDO_REGISTER to STORE_PSEUDO_REGISTER.
Diffstat (limited to 'gdb/regcache.c')
-rw-r--r-- | gdb/regcache.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/regcache.c b/gdb/regcache.c index 13cded2a7af..f449189795e 100644 --- a/gdb/regcache.c +++ b/gdb/regcache.c @@ -378,7 +378,7 @@ read_register_bytes (int inregbyte, char *myaddr, int inlen) if (regno < NUM_REGS) target_fetch_registers (regno); else if (regno < NUM_REGS + NUM_PSEUDO_REGS) - ARCH_FETCH_PSEUDO_REGISTERS (regno); + FETCH_PSEUDO_REGISTER (regno); if (!register_valid[regno]) error ("read_register_bytes: Couldn't update register %d.", regno); @@ -407,7 +407,7 @@ read_register_gen (int regno, char *myaddr) if (regno < NUM_REGS) target_fetch_registers (regno); else if (regno < NUM_REGS + NUM_PSEUDO_REGS) - ARCH_FETCH_PSEUDO_REGISTERS (regno); + FETCH_PSEUDO_REGISTER (regno); } memcpy (myaddr, ®isters[REGISTER_BYTE (regno)], REGISTER_RAW_SIZE (regno)); @@ -456,7 +456,7 @@ write_register_gen (int regno, char *myaddr) if (regno < NUM_REGS) target_store_registers (regno); else if (regno < NUM_REGS + NUM_PSEUDO_REGS) - ARCH_STORE_PSEUDO_REGISTERS (regno); + STORE_PSEUDO_REGISTER (regno); } /* Copy INLEN bytes of consecutive data from memory at MYADDR @@ -510,7 +510,7 @@ write_register_bytes (int myregstart, char *myaddr, int inlen) if (regno < NUM_REGS) target_store_registers (regno); else if (regno < NUM_REGS + NUM_PSEUDO_REGS) - ARCH_STORE_PSEUDO_REGISTERS (regno); + STORE_PSEUDO_REGISTER (regno); } } } @@ -533,7 +533,7 @@ read_register (int regno) if (regno < NUM_REGS) target_fetch_registers (regno); else if (regno < NUM_REGS + NUM_PSEUDO_REGS) - ARCH_FETCH_PSEUDO_REGISTERS (regno); + FETCH_PSEUDO_REGISTER (regno); } return (extract_unsigned_integer (®isters[REGISTER_BYTE (regno)], @@ -639,7 +639,7 @@ write_register (int regno, LONGEST val) if (regno < NUM_REGS) target_store_registers (regno); else if (regno < NUM_REGS + NUM_PSEUDO_REGS) - ARCH_STORE_PSEUDO_REGISTERS (regno); + STORE_PSEUDO_REGISTER (regno); } void |