forked from Imagelibrary/binutils-gdb
2003-05-03 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_SIZE): Rename REGISTER_SIZE. (DEPRECATED_SIZEOF_CALL_DUMMY_WORDS): Rename SIZEOF_CALL_DUMMY_WORDS. (DEPRECATED_CALL_DUMMY_WORDS): Rename CALL_DUMMY_WORDS. (DEPRECATED_FIX_CALL_DUMMY): Rename FIX_CALL_DUMMY. (DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET): Rename CALL_DUMMY_BREAKPOINT_OFFSET. (DEPRECATED_CALL_DUMMY_START_OFFSET): Rename CALL_DUMMY_START_OFFSET. (DEPRECATED_CALL_DUMMY_LENGTH): Rename CALL_DUMMY_LENGTH. * gdbarch.h, gdbarch.c: Re-generate. * alpha-tdep.c, alphafbsd-tdep.c, arm-linux-tdep.c: Update. * arm-tdep.c, avr-tdep.c, breakpoint.c, cris-tdep.c: Update. * dummy-frame.c, dummy-frame.h, frv-tdep.c, gdbarch.c: Update. * gdbarch.h, gdbarch.sh, h8300-tdep.c, hppa-tdep.c: Update. * i386-tdep.c, ia64-tdep.c, infcall.c, inferior.h: Update. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c: Update. * mips-tdep.c, mn10300-tdep.c, ns32k-tdep.c: Update. * rs6000-tdep.c, s390-tdep.c, sh-tdep.c, sol-thread.c: Update. * sparc-tdep.c, target.c, v850-tdep.c, valops.c: Update. * vax-tdep.c, x86-64-tdep.c, xstormy16-tdep.c: Update. * config/ia64/tm-ia64.h, config/m68k/tm-vx68.h: Update. * config/mips/tm-mips.h, config/pa/nm-hppah.h: Update. * config/pa/tm-hppa.h, config/pa/tm-hppa64.h: Update. * config/s390/tm-s390.h, config/sparc/tm-sp64.h: Update. * config/sparc/tm-sparc.h: Update. Index: doc/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Make CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_LENGTH, FIX_CALL_DUMMY, CALL_DUMMY_BREAKPOINT_OFFSET and CALL_DUMMY_BREAKPOINT_OFFSET deprecated. Index: mi/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * mi-main.c (mi_cmd_data_write_register_values): Replace REGISTER_SIZE with DEPRECATED_REGISTER_SIZE. Index: testsuite/ChangeLog 2003-05-03 Andrew Cagney <cagney@redhat.com> * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
This commit is contained in:
@@ -90,26 +90,26 @@ struct type;
|
||||
|
||||
#undef CALL_DUMMY
|
||||
#define CALL_DUMMY {0}
|
||||
#undef CALL_DUMMY_LENGTH
|
||||
#define CALL_DUMMY_LENGTH 0
|
||||
#undef DEPRECATED_CALL_DUMMY_LENGTH
|
||||
#define DEPRECATED_CALL_DUMMY_LENGTH 0
|
||||
#undef CALL_DUMMY_CALL_OFFSET
|
||||
#define CALL_DUMMY_CALL_OFFSET 0
|
||||
#undef CALL_DUMMY_START_OFFSET
|
||||
#define CALL_DUMMY_START_OFFSET 0
|
||||
#undef CALL_DUMMY_BREAKPOINT_OFFSET
|
||||
#define CALL_DUMMY_BREAKPOINT_OFFSET 0
|
||||
#undef DEPRECATED_CALL_DUMMY_START_OFFSET
|
||||
#define DEPRECATED_CALL_DUMMY_START_OFFSET 0
|
||||
#undef DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET
|
||||
#define DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET 0
|
||||
#undef CALL_DUMMY_LOCATION
|
||||
#define CALL_DUMMY_LOCATION AT_ENTRY_POINT
|
||||
#undef DEPRECATED_PC_IN_CALL_DUMMY
|
||||
#define DEPRECATED_PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_at_entry_point (pc, sp, frame_address)
|
||||
#undef DEPRECATED_CALL_DUMMY_STACK_ADJUST
|
||||
#define DEPRECATED_CALL_DUMMY_STACK_ADJUST 128
|
||||
#undef SIZEOF_CALL_DUMMY_WORDS
|
||||
#define SIZEOF_CALL_DUMMY_WORDS 0
|
||||
#undef DEPRECATED_SIZEOF_CALL_DUMMY_WORDS
|
||||
#define DEPRECATED_SIZEOF_CALL_DUMMY_WORDS 0
|
||||
#undef CALL_DUMMY_ADDRESS
|
||||
#define CALL_DUMMY_ADDRESS() entry_point_address()
|
||||
#undef FIX_CALL_DUMMY
|
||||
#define FIX_CALL_DUMMY(DUMMYNAME, PC, FUN, NARGS, ARGS, TYPE, GCC_P)
|
||||
#undef DEPRECATED_FIX_CALL_DUMMY
|
||||
#define DEPRECATED_FIX_CALL_DUMMY(DUMMYNAME, PC, FUN, NARGS, ARGS, TYPE, GCC_P)
|
||||
#undef DEPRECATED_PUSH_RETURN_ADDRESS
|
||||
#define DEPRECATED_PUSH_RETURN_ADDRESS(PC, SP) sparc_at_entry_push_return_address (PC, SP)
|
||||
extern CORE_ADDR sparc_at_entry_push_return_address (CORE_ADDR pc,
|
||||
@@ -147,20 +147,20 @@ extern void sparc_at_entry_store_struct_return (CORE_ADDR addr, CORE_ADDR sp);
|
||||
#define DEPRECATED_CALL_DUMMY_STACK_ADJUST 128
|
||||
|
||||
/* Size of the call dummy in bytes. */
|
||||
#undef CALL_DUMMY_LENGTH
|
||||
#define CALL_DUMMY_LENGTH 192
|
||||
#undef DEPRECATED_CALL_DUMMY_LENGTH
|
||||
#define DEPRECATED_CALL_DUMMY_LENGTH 192
|
||||
|
||||
/* Offset within CALL_DUMMY of the 'call' instruction. */
|
||||
#undef CALL_DUMMY_START_OFFSET
|
||||
#define CALL_DUMMY_START_OFFSET 148
|
||||
#undef DEPRECATED_CALL_DUMMY_START_OFFSET
|
||||
#define DEPRECATED_CALL_DUMMY_START_OFFSET 148
|
||||
|
||||
/* Offset within CALL_DUMMY of the 'call' instruction. */
|
||||
#undef CALL_DUMMY_CALL_OFFSET
|
||||
#define CALL_DUMMY_CALL_OFFSET (CALL_DUMMY_START_OFFSET + (5 * 4))
|
||||
#define CALL_DUMMY_CALL_OFFSET (DEPRECATED_CALL_DUMMY_START_OFFSET + (5 * 4))
|
||||
|
||||
/* Offset within CALL_DUMMY of the 'ta 1' instruction. */
|
||||
#undef CALL_DUMMY_BREAKPOINT_OFFSET
|
||||
#define CALL_DUMMY_BREAKPOINT_OFFSET (CALL_DUMMY_START_OFFSET + (8 * 4))
|
||||
#undef DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET
|
||||
#define DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET (DEPRECATED_CALL_DUMMY_START_OFFSET + (8 * 4))
|
||||
|
||||
/* Call dummy will be located on the stack. */
|
||||
#undef CALL_DUMMY_LOCATION
|
||||
@@ -169,15 +169,15 @@ extern void sparc_at_entry_store_struct_return (CORE_ADDR addr, CORE_ADDR sp);
|
||||
#define DEPRECATED_PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address)
|
||||
|
||||
/* Insert the function address into the call dummy. */
|
||||
#undef FIX_CALL_DUMMY
|
||||
#define FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \
|
||||
#undef DEPRECATED_FIX_CALL_DUMMY
|
||||
#define DEPRECATED_FIX_CALL_DUMMY(dummyname, pc, fun, nargs, args, type, gcc_p) \
|
||||
sparc_fix_call_dummy (dummyname, pc, fun, type, gcc_p)
|
||||
void sparc_fix_call_dummy (char *dummy, CORE_ADDR pc, CORE_ADDR fun,
|
||||
struct type *value_type, int using_gcc);
|
||||
|
||||
|
||||
/* The remainder of these will accept the default definition. */
|
||||
#undef SIZEOF_CALL_DUMMY_WORDS
|
||||
#undef DEPRECATED_SIZEOF_CALL_DUMMY_WORDS
|
||||
#undef DEPRECATED_PUSH_RETURN_ADDRESS
|
||||
#undef CALL_DUMMY_ADDRESS
|
||||
#undef STORE_STRUCT_RETURN
|
||||
@@ -376,8 +376,8 @@ extern void sp64_extract_return_value (struct type *, char[], char *, int);
|
||||
used in push_word and a few other places; REGISTER_RAW_SIZE is the
|
||||
real way to know how big a register is. */
|
||||
|
||||
#undef REGISTER_SIZE
|
||||
#define REGISTER_SIZE 8
|
||||
#undef DEPRECATED_REGISTER_SIZE
|
||||
#define DEPRECATED_REGISTER_SIZE 8
|
||||
|
||||
/* Number of bytes of storage in the actual machine representation
|
||||
for register N. */
|
||||
|
||||
@@ -174,7 +174,7 @@ extern int sparc_intreg_size (void);
|
||||
used in push_word and a few other places; REGISTER_RAW_SIZE is the
|
||||
real way to know how big a register is. */
|
||||
|
||||
#define REGISTER_SIZE 4
|
||||
#define DEPRECATED_REGISTER_SIZE 4
|
||||
|
||||
/* Number of machine registers */
|
||||
|
||||
@@ -589,19 +589,19 @@ extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev);
|
||||
|
||||
/* Size of the call dummy in bytes. */
|
||||
|
||||
#define CALL_DUMMY_LENGTH 0x38
|
||||
#define DEPRECATED_CALL_DUMMY_LENGTH 0x38
|
||||
|
||||
/* Offset within call dummy of first instruction to execute. */
|
||||
|
||||
#define CALL_DUMMY_START_OFFSET 0
|
||||
#define DEPRECATED_CALL_DUMMY_START_OFFSET 0
|
||||
|
||||
/* Offset within CALL_DUMMY of the 'call' instruction. */
|
||||
|
||||
#define CALL_DUMMY_CALL_OFFSET (CALL_DUMMY_START_OFFSET + 0x24)
|
||||
#define CALL_DUMMY_CALL_OFFSET (DEPRECATED_CALL_DUMMY_START_OFFSET + 0x24)
|
||||
|
||||
/* Offset within CALL_DUMMY of the 'ta 1' trap instruction. */
|
||||
|
||||
#define CALL_DUMMY_BREAKPOINT_OFFSET (CALL_DUMMY_START_OFFSET + 0x30)
|
||||
#define DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET (DEPRECATED_CALL_DUMMY_START_OFFSET + 0x30)
|
||||
|
||||
#define DEPRECATED_CALL_DUMMY_STACK_ADJUST 68
|
||||
|
||||
@@ -626,7 +626,7 @@ extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev);
|
||||
/* Insert the specified number of args and function address
|
||||
into a call sequence of the above form stored at DUMMYNAME. */
|
||||
|
||||
#define FIX_CALL_DUMMY(DUMMYNAME, PC, FUN, NARGS, ARGS, TYPE, GCC_P) \
|
||||
#define DEPRECATED_FIX_CALL_DUMMY(DUMMYNAME, PC, FUN, NARGS, ARGS, TYPE, GCC_P) \
|
||||
sparc_fix_call_dummy (DUMMYNAME, PC, FUN, TYPE, GCC_P)
|
||||
void sparc_fix_call_dummy (char *dummy, CORE_ADDR pc, CORE_ADDR fun,
|
||||
struct type *value_type, int using_gcc);
|
||||
|
||||
Reference in New Issue
Block a user