PR breakpoint/12803
[deliverable/binutils-gdb.git] / gdb / sol2-tdep.c
index de9e018ffee5549999b49bca5ad13e79bb98722b..6345a82f9f4cee5874a3526ebeaa2c4814cdf444 100644 (file)
@@ -1,6 +1,7 @@
 /* Target-dependent code for Solaris.
 
-   Copyright (C) 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011
+   Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -31,7 +32,7 @@ sol2_skip_solib_resolver (struct gdbarch *gdbarch, CORE_ADDR pc)
 
   msym = lookup_minimal_symbol("elf_bndr", NULL, NULL);
   if (msym && SYMBOL_VALUE_ADDRESS (msym) == pc)
-    return frame_pc_unwind (get_current_frame ());
+    return frame_unwind_caller_pc (get_current_frame ());
 
   return 0;
 }
This page took 0.024694 seconds and 4 git commands to generate.