]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/loongarch-tdep.h
gdb: pass frames as `const frame_info_ptr &`
[thirdparty/binutils-gdb.git] / gdb / loongarch-tdep.h
index bfe398898c009db09a41ebba3e275894987c8a37..5c8108182ad6b44c520f5c14229c0348b2a49ad9 100644 (file)
@@ -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  */