This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Code cleanup: Drop frame_unwind_find_by_frame retval
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Wed, 11 Aug 2010 15:23:32 +0200
- Subject: Re: [patch] Code cleanup: Drop frame_unwind_find_by_frame retval
- References: <20100807195925.GA4025@host1.dyn.jankratochvil.net>
On Sat, 07 Aug 2010 21:59:26 +0200, Jan Kratochvil wrote:
> it is obvious (as frame->unwind is already pre-set by
> frame_prepare_for_sniffer). 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-07 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> Code cleanup.
> * frame-unwind.c (frame_unwind_find_by_frame): Remove the return type
> and returned value. New comment from frame-unwind.h.
> * frame-unwind.h (frame_unwind_find_by_frame): Remove the return type.
> Extend the comment.
> * frame.c (get_frame_id, frame_unwind_register_value)
> (create_new_frame, get_prev_frame_1, frame_unwinder_is)
> (get_frame_type, frame_unwind_arch): Do not use the return value of
> frame_unwind_find_by_frame.
Checked-in:
http://sourceware.org/ml/gdb-cvs/2010-08/msg00052.html
Thanks,
Jan