diff options
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/h8500/tm-h8500.h | 4 | ||||
-rw-r--r-- | gdb/config/mn10200/tm-mn10200.h | 4 | ||||
-rw-r--r-- | gdb/config/sparc/tm-sparc.h | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/gdb/config/h8500/tm-h8500.h b/gdb/config/h8500/tm-h8500.h index 4f8f347..6b91a71 100644 --- a/gdb/config/h8500/tm-h8500.h +++ b/gdb/config/h8500/tm-h8500.h @@ -215,9 +215,9 @@ extern CORE_ADDR h8500_frame_chain (struct frame_info *); #define FRAME_SAVED_PC(FRAME) frame_saved_pc(FRAME) extern CORE_ADDR frame_saved_pc (struct frame_info *frame); -#define FRAME_ARGS_ADDRESS(fi) ((fi)->frame) +#define FRAME_ARGS_ADDRESS(fi) (get_frame_base (fi)) -#define FRAME_LOCALS_ADDRESS(fi) ((fi)->frame) +#define FRAME_LOCALS_ADDRESS(fi) (get_frame_base (fi)) /* Set VAL to the number of args passed to frame described by FI. Can set VAL to -1, meaning no way to tell. */ diff --git a/gdb/config/mn10200/tm-mn10200.h b/gdb/config/mn10200/tm-mn10200.h index f25578c..beb063e 100644 --- a/gdb/config/mn10200/tm-mn10200.h +++ b/gdb/config/mn10200/tm-mn10200.h @@ -177,8 +177,8 @@ extern CORE_ADDR mn10200_skip_prologue (CORE_ADDR); #define FRAME_ARGS_SKIP 0 -#define FRAME_ARGS_ADDRESS(fi) ((fi)->frame) -#define FRAME_LOCALS_ADDRESS(fi) ((fi)->frame) +#define FRAME_ARGS_ADDRESS(fi) (get_frame_base (fi)) +#define FRAME_LOCALS_ADDRESS(fi) (get_frame_base (fi)) #define FRAME_NUM_ARGS(fi) (-1) extern void mn10200_pop_frame (struct frame_info *); diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index 404f685..b43e3a3 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -488,9 +488,9 @@ extern CORE_ADDR sparc_frame_chain (struct frame_info *); extern CORE_ADDR sparc_frame_saved_pc (struct frame_info *); /* If the argument is on the stack, it will be here. */ -#define FRAME_ARGS_ADDRESS(FI) ((FI)->frame) +#define FRAME_ARGS_ADDRESS(FI) (get_frame_base (FI)) -#define FRAME_LOCALS_ADDRESS(FI) ((FI)->frame) +#define FRAME_LOCALS_ADDRESS(FI) (get_frame_base (FI)) /* Set VAL to the number of args passed to frame described by FI. Can set VAL to -1, meaning no way to tell. */ @@ -526,7 +526,7 @@ extern void sparc_print_extra_frame_info (struct frame_info *); #define FRAME_SAVED_L0 0 #define FRAME_SAVED_I0 (8 * REGISTER_RAW_SIZE (L0_REGNUM)) -#define FRAME_STRUCT_ARGS_ADDRESS(FI) ((FI)->frame) +#define FRAME_STRUCT_ARGS_ADDRESS(FI) (get_frame_base (FI)) /* Things needed for making the inferior call functions. */ /* |