This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Skip unwritable frames in command "finish"
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 23 May 2016 17:35:41 +0100
- Subject: Re: [PATCH] Skip unwritable frames in command "finish"
- Authentication-results: sourceware.org; auth=none
- References: <1463383767-15341-1-git-send-email-yao dot qi at linaro dot org>
Yao Qi <qiyaoltc@gmail.com> writes:
> gdb:
>
> 2016-05-15 Yao Qi <yao.qi@arm.com>
>
> * arch-utils.c (default_code_of_frame_writable): New function.
> * arch-utils.h (default_code_of_frame_writable): Declare.
> * arm-tdep.c (arm_code_of_frame_writable): New function.
> (arm_gdbarch_init): Install gdbarch method
> code_of_frame_writable if the target is M-profile.
> * frame.c (skip_unwritable_frames): New function.
> * frame.h (skip_unwritable_frames): Declare.
> * gdbarch.sh (code_of_frame_writable): New.
> * gdbarch.c, gdbarch.h: Re-generated.
> * infcmd.c (finish_command): Call skip_unwritable_frames.
I pushed it in.
--
Yao (éå)