* infrun.c (handle_inferior_event): If
[deliverable/binutils-gdb.git] / gdb / m32c-tdep.c
index e68e9fec9d1f397fe48ffa4ffa31544b14b54771..7302a7f6baacbedcf1873f31f8f7efd385cf92df 100644 (file)
@@ -2332,7 +2332,7 @@ m32c_return_value (struct gdbarch *gdbarch,
 static CORE_ADDR
 m32c_skip_trampoline_code (struct frame_info *frame, CORE_ADDR stop_pc)
 {
-  struct gdbarch_tdep *tdep = gdbarch_tdep (current_gdbarch);
+  struct gdbarch_tdep *tdep = gdbarch_tdep (get_frame_arch (frame));
 
   /* It would be nicer to simply look up the addresses of known
      trampolines once, and then compare stop_pc with them.  However,
This page took 0.02279 seconds and 4 git commands to generate.