forked from Imagelibrary/binutils-gdb
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:
@@ -2983,7 +2983,7 @@ pa_print_fp_reg (int i)
|
||||
frame_register_read (deprecated_selected_frame, i, raw_buffer);
|
||||
|
||||
/* Put it in the buffer. No conversions are ever necessary. */
|
||||
memcpy (virtual_buffer, raw_buffer, REGISTER_RAW_SIZE (i));
|
||||
memcpy (virtual_buffer, raw_buffer, DEPRECATED_REGISTER_RAW_SIZE (i));
|
||||
|
||||
fputs_filtered (REGISTER_NAME (i), gdb_stdout);
|
||||
print_spaces_filtered (8 - strlen (REGISTER_NAME (i)), gdb_stdout);
|
||||
@@ -3001,8 +3001,8 @@ pa_print_fp_reg (int i)
|
||||
frame_register_read (deprecated_selected_frame, i + 1, raw_buffer);
|
||||
|
||||
/* Copy it into the appropriate part of the virtual buffer. */
|
||||
memcpy (virtual_buffer + REGISTER_RAW_SIZE (i), raw_buffer,
|
||||
REGISTER_RAW_SIZE (i));
|
||||
memcpy (virtual_buffer + DEPRECATED_REGISTER_RAW_SIZE (i), raw_buffer,
|
||||
DEPRECATED_REGISTER_RAW_SIZE (i));
|
||||
|
||||
/* Dump it as a double. */
|
||||
fputs_filtered (REGISTER_NAME (i), gdb_stdout);
|
||||
@@ -3029,7 +3029,7 @@ pa_strcat_fp_reg (int i, struct ui_file *stream, enum precision_type precision)
|
||||
frame_register_read (deprecated_selected_frame, i, raw_buffer);
|
||||
|
||||
/* Put it in the buffer. No conversions are ever necessary. */
|
||||
memcpy (virtual_buffer, raw_buffer, REGISTER_RAW_SIZE (i));
|
||||
memcpy (virtual_buffer, raw_buffer, DEPRECATED_REGISTER_RAW_SIZE (i));
|
||||
|
||||
if (precision == double_precision && (i % 2) == 0)
|
||||
{
|
||||
@@ -3040,7 +3040,8 @@ pa_strcat_fp_reg (int i, struct ui_file *stream, enum precision_type precision)
|
||||
frame_register_read (deprecated_selected_frame, i + 1, raw_buf);
|
||||
|
||||
/* Copy it into the appropriate part of the virtual buffer. */
|
||||
memcpy (virtual_buffer + REGISTER_RAW_SIZE (i), raw_buf, REGISTER_RAW_SIZE (i));
|
||||
memcpy (virtual_buffer + DEPRECATED_REGISTER_RAW_SIZE (i), raw_buf,
|
||||
DEPRECATED_REGISTER_RAW_SIZE (i));
|
||||
|
||||
val_print (builtin_type_double, virtual_buffer, 0, 0, stream, 0,
|
||||
1, 0, Val_pretty_default);
|
||||
|
||||
Reference in New Issue
Block a user