diff options
author | Mark Kettenis <kettenis@gnu.org> | 2002-06-15 19:59:08 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2002-06-15 19:59:08 +0000 |
commit | 42fdc8df2fb4328db6e2e6682b1327b6cf34beae (patch) | |
tree | 5131c02f470db94d6ad5bc636b90fd0029da3703 /gdb/config/i386 | |
parent | 9773a94b7ac61e63820cdefb2394b8f263492994 (diff) | |
download | gdb-42fdc8df2fb4328db6e2e6682b1327b6cf34beae.zip gdb-42fdc8df2fb4328db6e2e6682b1327b6cf34beae.tar.gz gdb-42fdc8df2fb4328db6e2e6682b1327b6cf34beae.tar.bz2 |
* config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION,
FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS,
FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines.
(i386_frameless_function_invocation, i386_frame_num_args,
i386_frame_init_saved_regs): Remove prototypes.
* i386-tdep.c (i386_gdbarch_init): Adjust for removal of the
macros mentioned above.
Diffstat (limited to 'gdb/config/i386')
-rw-r--r-- | gdb/config/i386/tm-i386.h | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/gdb/config/i386/tm-i386.h b/gdb/config/i386/tm-i386.h index 982e7c8..6ac6bc7 100644 --- a/gdb/config/i386/tm-i386.h +++ b/gdb/config/i386/tm-i386.h @@ -127,39 +127,6 @@ extern void i386_store_return_value (struct type *type, char *valbuf); #define DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS(regbuf) \ i386_extract_struct_value_address ((regbuf)) extern CORE_ADDR i386_extract_struct_value_address (char *regbuf); - -/* Determine whether the function invocation represented by FRAME does - not have a from on the stack associated with it. If it does not, - return non-zero, otherwise return zero. */ - -#define FRAMELESS_FUNCTION_INVOCATION(frame) \ - i386_frameless_function_invocation (frame) -extern int i386_frameless_function_invocation (struct frame_info *frame); - -#define FRAME_ARGS_ADDRESS(fi) ((fi)->frame) - -#define FRAME_LOCALS_ADDRESS(fi) ((fi)->frame) - -/* Return number of args passed to a frame. Can return -1, meaning no way - to tell, which is typical now that the C compiler delays popping them. */ - -#define FRAME_NUM_ARGS(fi) (i386_frame_num_args(fi)) - -extern int i386_frame_num_args (struct frame_info *); - -/* Return number of bytes at start of arglist that are not really args. */ - -#define FRAME_ARGS_SKIP 8 - -/* Put here the code to store, into a struct frame_saved_regs, - the addresses of the saved registers of frame described by FRAME_INFO. - This includes special registers such as pc and fp saved in special - ways in the stack frame. sp is even more special: - the address we return for it IS the sp for the next frame. */ - -extern void i386_frame_init_saved_regs (struct frame_info *); -#define FRAME_INIT_SAVED_REGS(FI) i386_frame_init_saved_regs (FI) - /* Things needed for making the inferior call functions. */ |