PR symtab/2161
[deliverable/binutils-gdb.git] / gdb / obsd-tdep.c
index 5e6dacc0d22e892ec1aa9ceab385db1df3fe8a95..22477824280bf60f47e5786815bb093dcae25fb0 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for OpenBSD.
 
-   Copyright (C) 2005 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2007 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -34,5 +34,5 @@ obsd_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc)
   if (msym && SYMBOL_VALUE_ADDRESS (msym) == pc)
     return frame_pc_unwind (get_current_frame ());
   else
-    return find_solib_trampoline_target (pc);
+    return find_solib_trampoline_target (get_current_frame (), pc);
 }
This page took 0.023567 seconds and 4 git commands to generate.