aboutsummaryrefslogtreecommitdiff
path: root/gdb/jit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/jit.c')
-rw-r--r--gdb/jit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/jit.c b/gdb/jit.c
index f1dbf39..3ca9cda 100644
--- a/gdb/jit.c
+++ b/gdb/jit.c
@@ -1008,7 +1008,7 @@ jit_dealloc_cache (frame_info *this_frame, void *cache)
static int
jit_frame_sniffer (const struct frame_unwind *self,
- frame_info_ptr this_frame, void **cache)
+ const frame_info_ptr &this_frame, void **cache)
{
struct jit_unwind_private *priv_data;
struct gdb_unwind_callbacks callbacks;
@@ -1054,7 +1054,7 @@ jit_frame_sniffer (const struct frame_unwind *self,
the loaded plugin. */
static void
-jit_frame_this_id (frame_info_ptr this_frame, void **cache,
+jit_frame_this_id (const frame_info_ptr &this_frame, void **cache,
struct frame_id *this_id)
{
struct jit_unwind_private priv;
@@ -1083,7 +1083,7 @@ jit_frame_this_id (frame_info_ptr this_frame, void **cache,
the register from the cache. */
static struct value *
-jit_frame_prev_register (frame_info_ptr this_frame, void **cache, int reg)
+jit_frame_prev_register (const frame_info_ptr &this_frame, void **cache, int reg)
{
struct jit_unwind_private *priv = (struct jit_unwind_private *) *cache;
struct gdbarch *gdbarch;