mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
2003-10-02 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_RAW_SIZE): Rename REGISTER_RAW_SIZE. * gdbarch.h, gdbarch.c: Re-generate. * aix-thread.c, alpha-tdep.h, arm-tdep.c, core-sol2.c: Update. * cris-tdep.c, dve3900-rom.c, findvar.c, frame.c: Update. * hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update. * hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update. * ia64-linux-nat.c, ia64-tdep.c, infcmd.c, infptrace.c: Update. * infrun.c, irix5-nat.c, lynx-nat.c, mips-linux-tdep.c: Update. * mips-nat.c, mips-tdep.c, mipsv4-nat.c, mn10300-tdep.c: Update. * monitor.c, ns32k-tdep.c, ppc-linux-nat.c, regcache.c: Update. * remote-e7000.c, remote-mips.c, remote-sim.c: Update. * remote-vxmips.c, remote-vxsparc.c, remote.c: Update. * rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, s390-tdep.c: Update. * sh64-tdep.c, sparc-nat.c, sparc-tdep.c, stack.c: Update. * target.c, tracepoint.c, v850-tdep.c, v850ice.c, valops.c: Update. * vax-tdep.c, vax-tdep.h, x86-64-tdep.c, xstormy16-tdep.c: Update. * config/m68k/tm-delta68.h, config/m68k/tm-vx68.h: Update. * config/sparc/tm-sparc.h, config/sparc/tm-sparclynx.h: Update. 2003-10-02 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Rename REGISTER_RAW_SIZE to DEPRECATED_REGISTER_RAW_SIZE. * gdb.texinfo (Packets, Stop Reply Packets): Ditto. * gdbint.texinfo (Target Architecture Definition): Rename 2003-10-02 Andrew Cagney <cagney@redhat.com> * mi-main.c: Rename REGISTER_RAW_SIZE to DEPRECATED_REGISTER_RAW_SIZE.
This commit is contained in:
@@ -320,14 +320,14 @@ gdbsim_fetch_register (int regno)
|
||||
memset (buf, 0, MAX_REGISTER_SIZE);
|
||||
nr_bytes = sim_fetch_register (gdbsim_desc,
|
||||
REGISTER_SIM_REGNO (regno),
|
||||
buf, REGISTER_RAW_SIZE (regno));
|
||||
if (nr_bytes > 0 && nr_bytes != REGISTER_RAW_SIZE (regno) && warn_user)
|
||||
buf, DEPRECATED_REGISTER_RAW_SIZE (regno));
|
||||
if (nr_bytes > 0 && nr_bytes != DEPRECATED_REGISTER_RAW_SIZE (regno) && warn_user)
|
||||
{
|
||||
fprintf_unfiltered (gdb_stderr,
|
||||
"Size of register %s (%d/%d) incorrect (%d instead of %d))",
|
||||
REGISTER_NAME (regno),
|
||||
regno, REGISTER_SIM_REGNO (regno),
|
||||
nr_bytes, REGISTER_RAW_SIZE (regno));
|
||||
nr_bytes, DEPRECATED_REGISTER_RAW_SIZE (regno));
|
||||
warn_user = 0;
|
||||
}
|
||||
/* FIXME: cagney/2002-05-27: Should check `nr_bytes == 0'
|
||||
@@ -340,7 +340,7 @@ gdbsim_fetch_register (int regno)
|
||||
{
|
||||
printf_filtered ("gdbsim_fetch_register: %d", regno);
|
||||
/* FIXME: We could print something more intelligible. */
|
||||
dump_mem (buf, REGISTER_RAW_SIZE (regno));
|
||||
dump_mem (buf, DEPRECATED_REGISTER_RAW_SIZE (regno));
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -364,8 +364,8 @@ gdbsim_store_register (int regno)
|
||||
deprecated_read_register_gen (regno, tmp);
|
||||
nr_bytes = sim_store_register (gdbsim_desc,
|
||||
REGISTER_SIM_REGNO (regno),
|
||||
tmp, REGISTER_RAW_SIZE (regno));
|
||||
if (nr_bytes > 0 && nr_bytes != REGISTER_RAW_SIZE (regno))
|
||||
tmp, DEPRECATED_REGISTER_RAW_SIZE (regno));
|
||||
if (nr_bytes > 0 && nr_bytes != DEPRECATED_REGISTER_RAW_SIZE (regno))
|
||||
internal_error (__FILE__, __LINE__,
|
||||
"Register size different to expected");
|
||||
/* FIXME: cagney/2002-05-27: Should check `nr_bytes == 0'
|
||||
@@ -375,7 +375,7 @@ gdbsim_store_register (int regno)
|
||||
{
|
||||
printf_filtered ("gdbsim_store_register: %d", regno);
|
||||
/* FIXME: We could print something more intelligible. */
|
||||
dump_mem (tmp, REGISTER_RAW_SIZE (regno));
|
||||
dump_mem (tmp, DEPRECATED_REGISTER_RAW_SIZE (regno));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user