This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Code cleanup: Drop frame_unwind_find_by_frame retval


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]