This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Code cleanup: unwinders: Reference directly the struct
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 11 Aug 2010 15:24:52 +0200
- Subject: Re: [patch] Code cleanup: unwinders: Reference directly the struct
- References: <20100808161300.GA768@host1.dyn.jankratochvil.net>
On Sun, 08 Aug 2010 18:13:00 +0200, Jan Kratochvil wrote:
> it is obvious, I am not aware why it has been made the current way. It even
> does not make an ABI sense. If any ABI would make sense inside GDB sources,
> which it does not. I will check it in in several days if not replied
> otherwise.
>
> No regressions on {x86_64,x86_64-m32,i686}-fedora14snapshot-linux-gnu.
>
> 2010-08-08 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * 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.
Checked-in:
http://sourceware.org/ml/gdb-cvs/2010-08/msg00053.html
Thanks,
Jan