forked from Imagelibrary/binutils-gdb
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:
@@ -317,9 +317,7 @@ sparc_init_extra_frame_info (int fromleaf, struct frame_info *fi)
|
||||
deprecated_read_fp() to create_new_frame. */
|
||||
if (get_next_frame (fi))
|
||||
{
|
||||
char *buf;
|
||||
|
||||
buf = alloca (MAX_REGISTER_RAW_SIZE);
|
||||
char buf[MAX_REGISTER_SIZE];
|
||||
|
||||
/* Compute ->frame as if not flat. If it is flat, we'll change
|
||||
it later. */
|
||||
@@ -368,9 +366,7 @@ sparc_init_extra_frame_info (int fromleaf, struct frame_info *fi)
|
||||
&& X_OP3 (insn) == 4
|
||||
&& X_RS1 (insn) == 14)
|
||||
{
|
||||
char *buf;
|
||||
|
||||
buf = alloca (MAX_REGISTER_RAW_SIZE);
|
||||
char buf[MAX_REGISTER_SIZE];
|
||||
|
||||
/* We definitely have a flat frame now. */
|
||||
get_frame_extra_info (fi)->flat = 1;
|
||||
@@ -474,10 +470,9 @@ sparc_extract_struct_value_address (char *regbuf)
|
||||
CORE_ADDR
|
||||
sparc_frame_saved_pc (struct frame_info *frame)
|
||||
{
|
||||
char *buf;
|
||||
char buf[MAX_REGISTER_SIZE];
|
||||
CORE_ADDR addr;
|
||||
|
||||
buf = alloca (MAX_REGISTER_RAW_SIZE);
|
||||
if ((get_frame_type (frame) == SIGTRAMP_FRAME))
|
||||
{
|
||||
/* This is the signal trampoline frame.
|
||||
@@ -2311,9 +2306,7 @@ void
|
||||
sparc_store_return_value (struct type *type, char *valbuf)
|
||||
{
|
||||
int regno;
|
||||
char *buffer;
|
||||
|
||||
buffer = alloca (MAX_REGISTER_RAW_SIZE);
|
||||
char buffer[MAX_REGISTER_SIZE];
|
||||
|
||||
if (TYPE_CODE (type) == TYPE_CODE_FLT && SPARC_HAS_FPU)
|
||||
/* Floating-point values are returned in the register pair */
|
||||
|
||||
Reference in New Issue
Block a user