aboutsummaryrefslogtreecommitdiff
path: root/gdb/sentinel-frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sentinel-frame.c')
-rw-r--r--gdb/sentinel-frame.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/sentinel-frame.c b/gdb/sentinel-frame.c
index 8aeef62..fe11d8a 100644
--- a/gdb/sentinel-frame.c
+++ b/gdb/sentinel-frame.c
@@ -102,7 +102,7 @@ sentinel_frame_pop (struct frame_info *frame,
internal_error (__FILE__, __LINE__, "Function sentinal_frame_pop called");
}
-const struct frame_unwind sentinel_frame_unwind =
+const struct frame_unwind sentinel_frame_unwinder =
{
sentinel_frame_pop,
sentinel_frame_pc_unwind,
@@ -110,8 +110,4 @@ const struct frame_unwind sentinel_frame_unwind =
sentinel_frame_register_unwind
};
-const struct frame_unwind *
-sentinel_frame_unwind_p (CORE_ADDR pc)
-{
- return &sentinel_frame_unwind;
-}
+const struct frame_unwind *const sentinel_frame_unwind = &sentinel_frame_unwinder;