aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-09-19 20:43:54 +0000
committerAndrew Cagney <cagney@redhat.com>2001-09-19 20:43:54 +0000
commite0441cf0e1b1c7e126ca50f8ce4c4a40561187b5 (patch)
treefa99e15481cca1567615e81ed4827341f8292e10
parentd5b2f4d67cf654227d255e7e72c5f85fe2f020ee (diff)
downloadgdb-e0441cf0e1b1c7e126ca50f8ce4c4a40561187b5.zip
gdb-e0441cf0e1b1c7e126ca50f8ce4c4a40561187b5.tar.gz
gdb-e0441cf0e1b1c7e126ca50f8ce4c4a40561187b5.tar.bz2
* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
function signature to match recent tracepoint.c:encode_actions changes. * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/config/mcore/tm-mcore.h2
-rw-r--r--gdb/mcore-tdep.c4
3 files changed, 9 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 90d0228..b062a43 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2001-09-19 Andrew Cagney <ac131313@redhat.com>
+
+ * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
+ function signature to match recent tracepoint.c:encode_actions
+ changes.
+ * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
+
2001-09-18 Andrew Cagney <ac131313@redhat.com>
* thread.c (do_captured_thread_select): Add uiout parameter.
diff --git a/gdb/config/mcore/tm-mcore.h b/gdb/config/mcore/tm-mcore.h
index 786b6fb..0fae6ac 100644
--- a/gdb/config/mcore/tm-mcore.h
+++ b/gdb/config/mcore/tm-mcore.h
@@ -151,7 +151,7 @@ extern use_struct_convention_fn mcore_use_struct_convention;
generic_get_saved_register (raw_buffer, optimized, addrp, frame, regnum, lval)
/* Cons up virtual frame pointer for trace */
-extern void mcore_virtual_frame_pointer (CORE_ADDR, long *, long *);
+extern void mcore_virtual_frame_pointer (CORE_ADDR, int *, LONGEST *);
#define TARGET_VIRTUAL_FRAME_POINTER(PC, REGP, OFFP) \
mcore_virtual_frame_pointer ((PC), (REGP), (OFFP))
diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c
index c437669..184f7b5 100644
--- a/gdb/mcore-tdep.c
+++ b/gdb/mcore-tdep.c
@@ -51,8 +51,6 @@ CORE_ADDR mcore_frame_args_address (struct frame_info *fi);
CORE_ADDR mcore_frame_locals_address (struct frame_info *fi);
-void mcore_virtual_frame_pointer (CORE_ADDR pc, long *reg, long *offset);
-
CORE_ADDR mcore_push_return_address (CORE_ADDR pc, CORE_ADDR sp);
CORE_ADDR mcore_push_arguments (int nargs, struct value ** args, CORE_ADDR sp,
@@ -649,7 +647,7 @@ mcore_frame_locals_address (struct frame_info * fi)
/* Return the frame pointer in use at address PC. */
void
-mcore_virtual_frame_pointer (CORE_ADDR pc, long *reg, long *offset)
+mcore_virtual_frame_pointer (CORE_ADDR pc, int *reg, LONGEST *offset)
{
struct frame_info *dummy = analyze_dummy_frame (pc, 0);
if (dummy->extra_info->status & MY_FRAME_IN_SP)