forked from Imagelibrary/binutils-gdb
* target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
* gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.h (legacy_virtual_frame_pointer): Declare. * arch-utils.c: Include "gdb_assert.h". (legacy_virtual_frame_pointer): Define. * Makefile.in (arch-utils.o): Depends on gdb_assert.h. * tracepoint.c (encode_actions): Make frame_reg an int. Make frame_offset a LONGEST. * ax-gdb.c (gen_frame_args_address): Ditto. (gen_frame_locals_address): Ditto. * mn10300-tdep.c (mn10300_gdbarch_init): Initialize virtual_frame_pointer. (mn10300_virtual_frame_pointer): Make static. Update parameter list to match function signature. * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
This commit is contained in:
@@ -454,7 +454,8 @@ gen_left_shift (struct agent_expr *ax, int distance)
|
||||
static void
|
||||
gen_frame_args_address (struct agent_expr *ax)
|
||||
{
|
||||
long frame_reg, frame_offset;
|
||||
int frame_reg;
|
||||
LONGEST frame_offset;
|
||||
|
||||
TARGET_VIRTUAL_FRAME_POINTER (ax->scope, &frame_reg, &frame_offset);
|
||||
ax_reg (ax, frame_reg);
|
||||
@@ -467,7 +468,8 @@ gen_frame_args_address (struct agent_expr *ax)
|
||||
static void
|
||||
gen_frame_locals_address (struct agent_expr *ax)
|
||||
{
|
||||
long frame_reg, frame_offset;
|
||||
int frame_reg;
|
||||
LONGEST frame_offset;
|
||||
|
||||
TARGET_VIRTUAL_FRAME_POINTER (ax->scope, &frame_reg, &frame_offset);
|
||||
ax_reg (ax, frame_reg);
|
||||
|
||||
Reference in New Issue
Block a user