PowerPC64 ELFv2 ABI: skip global entry point code
[deliverable/binutils-gdb.git] / gdb / infrun.c
index 71d9615582e4bc141e489df6b196f6d043e8263e..c0df12471748d2dcf99fa2ef1bff76eff5e5fc8f 100644 (file)
@@ -3159,6 +3159,10 @@ fill_in_stop_func (struct gdbarch *gdbarch,
       ecs->stop_func_start
        += gdbarch_deprecated_function_start_offset (gdbarch);
 
+      if (gdbarch_skip_entrypoint_p (gdbarch))
+       ecs->stop_func_start = gdbarch_skip_entrypoint (gdbarch,
+                                                       ecs->stop_func_start);
+
       ecs->stop_func_filled_in = 1;
     }
 }
This page took 0.024444 seconds and 4 git commands to generate.