aboutsummaryrefslogtreecommitdiff
path: root/gdb/tracepoint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-08-11 00:59:29 +0000
committerAndrew Cagney <cagney@redhat.com>2001-08-11 00:59:29 +0000
commit39d4ef0921acdfe6433b9630a37e3fc957b6d797 (patch)
tree12985cda58e21f7fe3912c620e17bbf2882a13a1 /gdb/tracepoint.c
parent67c2c32c6b30dd3690964884a46b39cc6ee27486 (diff)
downloadgdb-39d4ef0921acdfe6433b9630a37e3fc957b6d797.zip
gdb-39d4ef0921acdfe6433b9630a37e3fc957b6d797.tar.gz
gdb-39d4ef0921acdfe6433b9630a37e3fc957b6d797.tar.bz2
* 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.
Diffstat (limited to 'gdb/tracepoint.c')
-rw-r--r--gdb/tracepoint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c
index 692c9a2..6351377 100644
--- a/gdb/tracepoint.c
+++ b/gdb/tracepoint.c
@@ -1488,7 +1488,8 @@ encode_actions (struct tracepoint *t, char ***tdp_actions,
struct collection_list *collect;
struct cmd_list_element *cmd;
struct agent_expr *aexpr;
- long frame_reg, frame_offset;
+ int frame_reg;
+ LONGEST frame_offset;
clear_collection_list (&tracepoint_list);