aboutsummaryrefslogtreecommitdiff
path: root/gdb/loongarch-tdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/loongarch-tdep.h')
-rw-r--r--gdb/loongarch-tdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/loongarch-tdep.h b/gdb/loongarch-tdep.h
index bfe3988..5c81081 100644
--- a/gdb/loongarch-tdep.h
+++ b/gdb/loongarch-tdep.h
@@ -41,7 +41,7 @@ struct loongarch_gdbarch_tdep : gdbarch_tdep_base
struct loongarch_gdbarch_features abi_features;
/* Return the expected next PC if FRAME is stopped at a syscall instruction. */
- CORE_ADDR (*syscall_next_pc) (frame_info_ptr frame) = nullptr;
+ CORE_ADDR (*syscall_next_pc) (const frame_info_ptr &frame) = nullptr;
};
#endif /* LOONGARCH_TDEP_H */