diff options
author | Andrew Cagney <cagney@redhat.com> | 2004-08-03 00:57:27 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2004-08-03 00:57:27 +0000 |
commit | 3acba3392386891d5e2c630fbe92871f8fa35838 (patch) | |
tree | d2802e74f1be1f7e45ad090dfbf04b42aaf5339e /gdb/irix5-nat.c | |
parent | 8b060787673f88ceba3abedadca26d4bd7ce89db (diff) | |
download | gdb-3acba3392386891d5e2c630fbe92871f8fa35838.zip gdb-3acba3392386891d5e2c630fbe92871f8fa35838.tar.gz gdb-3acba3392386891d5e2c630fbe92871f8fa35838.tar.bz2 |
2004-08-02 Andrew Cagney <cagney@gnu.org>
Replace DEPRECATED_REGISTER_RAW_SIZE with register_size.
* rs6000-tdep.c (rs6000_push_dummy_call)
(rs6000_extract_return_value): Use register_size.
* xstormy16-tdep.c (xstormy16_get_saved_register)
(xstormy16_extract_return_value): Ditto.
* valops.c (value_assign): Ditto.
* v850ice.c (v850ice_fetch_registers, v850ice_store_registers):
* v850-tdep.c (v850_extract_return_value): Ditto.
* tracepoint.c (collect_symbol): Ditto.
* target.c (debug_print_register): Ditto.
* stack.c (frame_info): Ditto.
* rs6000-nat.c (ARCH64, fetch_register, store_register): Ditto.
* rom68k-rom.c (rom68k_supply_one_register): Ditto.
* remote.c (struct packet_reg, remote_wait, remote_async_wait)
(store_register_using_P): Ditto.
* remote-vxmips.c (vx_read_register, vx_write_register): Ditto.
* remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Ditto.
* remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
* remote-e7000.c (fetch_regs_from_dump, sub2_from_pc): Ditto.
* regcache.c (deprecated_read_register_bytes)
(deprecated_write_register_bytes, read_register)
(write_register): Ditto.
* ppc-linux-nat.c (fetch_altivec_register, fetch_register)
(supply_vrregset, store_altivec_register, fill_vrregset): Ditto.
* monitor.c (monitor_supply_register, monitor_fetch_register)
(monitor_store_register): Ditto.
* mn10300-tdep.c (mn10300_pop_frame_regular)
(mn10300_print_register): Ditto.
* mipsv4-nat.c (fill_fpregset): Ditto.
* mips-linux-tdep.c (supply_32bit_reg, fill_fpregset)
(mips64_fill_fpregset): Ditto.
* mi/mi-main.c (register_changed_p, get_register)
(mi_cmd_data_write_register_values): Ditto.
* lynx-nat.c (fetch_inferior_registers, store_inferior_registers):
* irix5-nat.c (fill_gregset, fetch_core_registers):
* infrun.c (write_inferior_status_register): Ditto.
* infptrace.c (fetch_register, store_register): Ditto.
* infcmd.c (default_print_registers_info): Ditto.
* ia64-linux-nat.c (COPY_REG, fill_fpregset): Ditto.
* ia64-aix-nat.c (COPY_REG, fill_gregset): Ditto.
* i386gnu-nat.c (gnu_store_registers, fill): Ditto.
* hpux-thread.c (hpux_thread_fetch_registers)
(hpux_thread_store_registers): Ditto.
* hppah-nat.c (store_inferior_registers, fetch_register):
* findvar.c (value_from_register): Ditto.
* dve3900-rom.c (fetch_bitmapped_register):
* cris-tdep.c (cris_gdbarch_init): Ditto.
* alpha-tdep.h: Ditto.
* aix-thread.c (pd_enable, fill_sprs64, fill_sprs32): Ditto.
Diffstat (limited to 'gdb/irix5-nat.c')
-rw-r--r-- | gdb/irix5-nat.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c index 8ad7e98..129742f 100644 --- a/gdb/irix5-nat.c +++ b/gdb/irix5-nat.c @@ -92,28 +92,28 @@ fill_gregset (gregset_t *gregsetp, int regno) if ((regno == -1) || (regno == regi)) *(regp + regi) = extract_signed_integer (&deprecated_registers[DEPRECATED_REGISTER_BYTE (regi)], - DEPRECATED_REGISTER_RAW_SIZE (regi)); + register_size (current_gdbarch, regi)); if ((regno == -1) || (regno == PC_REGNUM)) *(regp + CTX_EPC) = extract_signed_integer (&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->pc)], - DEPRECATED_REGISTER_RAW_SIZE (mips_regnum (current_gdbarch)->pc)); + register_size (current_gdbarch, mips_regnum (current_gdbarch)->pc)); if ((regno == -1) || (regno == mips_regnum (current_gdbarch)->cause)) *(regp + CTX_CAUSE) = extract_signed_integer (&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->cause)], - DEPRECATED_REGISTER_RAW_SIZE (mips_regnum (current_gdbarch)->cause)); + register_size (current_gdbarch, mips_regnum (current_gdbarch)->cause)); if ((regno == -1) || (regno == mips_regnum (current_gdbarch)->hi)) *(regp + CTX_MDHI) = extract_signed_integer (&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->hi)], - DEPRECATED_REGISTER_RAW_SIZE (mips_regnum (current_gdbarch)->hi)); + register_size (current_gdbarch, mips_regnum (current_gdbarch)->hi)); if ((regno == -1) || (regno == mips_regnum (current_gdbarch)->lo)) *(regp + CTX_MDLO) = extract_signed_integer (&deprecated_registers[DEPRECATED_REGISTER_BYTE (mips_regnum (current_gdbarch)->lo)], - DEPRECATED_REGISTER_RAW_SIZE (mips_regnum (current_gdbarch)->lo)); + register_size (current_gdbarch, mips_regnum (current_gdbarch)->lo)); } /* @@ -160,7 +160,7 @@ fill_fpregset (fpregset_t *fpregsetp, int regno) { from = (char *) &deprecated_registers[DEPRECATED_REGISTER_BYTE (regi)]; to = (char *) &(fpregsetp->fp_r.fp_regs[regi - FP0_REGNUM]); - memcpy (to, from, DEPRECATED_REGISTER_RAW_SIZE (regi)); + memcpy (to, from, register_size (current_gdbarch, regi)); } } @@ -233,7 +233,7 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, *dstp++ = *srcp++; *dstp++ = *srcp++; *dstp++ = *srcp++; - if (DEPRECATED_REGISTER_RAW_SIZE (regno) == 4) + if (register_size (current_gdbarch, regno) == 4) { /* copying 4 bytes from eight bytes? I don't see how this can be right... */ |