From 39d7b0e29259dcf5cf966530ac416d1eb287ccbb Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Wed, 11 Aug 2010 13:24:32 +0000 Subject: gdb/ Code cleanup. * dummy-frame.c (dummy_frame_unwinder): Remove its static qualifier. Rename to dummy_frame_unwind. (dummy_frame_unwind): Remove. * dummy-frame.h (dummy_frame_unwind): Reference directly the struct. * frame-unwind.c (frame_unwind_init): Use address of dummy_frame_unwind and inline_frame_unwind. * frame.c (create_sentinel_frame): Use address of sentinel_frame_unwind. * inline-frame.c (inline_frame_unwinder): Rename to inline_frame_unwind. (inline_frame_unwind): Remove. * inline-frame.h (inline_frame_unwind): Reference directly the struct. * sentinel-frame.c (sentinel_frame_unwinder): Rename to sentinel_frame_unwind. (sentinel_frame_unwind): Remove. * sentinel-frame.h (sentinel_frame_unwind): Reference directly the struct. --- gdb/sentinel-frame.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/sentinel-frame.h') diff --git a/gdb/sentinel-frame.h b/gdb/sentinel-frame.h index 0c9f576..3346640 100644 --- a/gdb/sentinel-frame.h +++ b/gdb/sentinel-frame.h @@ -34,6 +34,6 @@ extern void *sentinel_frame_cache (struct regcache *regcache); /* At present there is only one type of sentinel frame. */ -extern const struct frame_unwind *const sentinel_frame_unwind; +extern const struct frame_unwind sentinel_frame_unwind; #endif /* !defined (SENTINEL_FRAME_H) */ -- cgit v1.1