Fix crash with DW_FORM_implicit_const
[binutils-gdb.git] / gdb / microblaze-linux-tdep.c
index e9ce7cd7fe063fb93c8a4cde45822ca0d9508f3b..ae33cb5c014138216cbf731427a26f20398e47b3 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for Xilinx MicroBlaze.
 
-   Copyright (C) 2009-2021 Free Software Foundation, Inc.
+   Copyright (C) 2009-2023 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -62,7 +62,7 @@ microblaze_linux_memory_remove_breakpoint (struct gdbarch *gdbarch,
 }
 
 static void
-microblaze_linux_sigtramp_cache (struct frame_info *next_frame,
+microblaze_linux_sigtramp_cache (frame_info_ptr next_frame,
                                 struct trad_frame_cache *this_cache,
                                 CORE_ADDR func, LONGEST offset,
                                 int bias)
@@ -90,7 +90,7 @@ microblaze_linux_sigtramp_cache (struct frame_info *next_frame,
 
 static void
 microblaze_linux_sighandler_cache_init (const struct tramp_frame *self,
-                                       struct frame_info *next_frame,
+                                       frame_info_ptr next_frame,
                                        struct trad_frame_cache *this_cache,
                                        CORE_ADDR func)
 {