mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
2003-05-08 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. * gdbarch.h: Re-generate. * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. (legacy_max_register_raw_size): Delete declaration. * regcache.c (legacy_max_register_raw_size): Delete function. * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Update. * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Update. * remote-rdp.c, remote-array.c, regcache.c: Update. * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Update. * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Update. * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Update. * findvar.c, dwarf2cfi.c: Update. Index: tui/ChangeLog 2003-05-08 Andrew Cagney <cagney@redhat.com> * tuiRegs.c: Use MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE. Index: mi/ChangeLog 2003-05-08 Andrew Cagney <cagney@redhat.com> * mi-main.c (register_changed_p): Use MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE.
This commit is contained in:
@ -1181,9 +1181,9 @@ monitor_fetch_register (int regno)
|
||||
char *regbuf;
|
||||
int i;
|
||||
|
||||
regbuf = alloca (MAX_REGISTER_RAW_SIZE * 2 + 1);
|
||||
zerobuf = alloca (MAX_REGISTER_RAW_SIZE);
|
||||
memset (zerobuf, 0, MAX_REGISTER_RAW_SIZE);
|
||||
regbuf = alloca (MAX_REGISTER_SIZE * 2 + 1);
|
||||
zerobuf = alloca (MAX_REGISTER_SIZE);
|
||||
memset (zerobuf, 0, MAX_REGISTER_SIZE);
|
||||
|
||||
if (current_monitor->regname != NULL)
|
||||
name = current_monitor->regname (regno);
|
||||
|
Reference in New Issue
Block a user