This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [PATCH] Don't displaced step when there's a breakpoint in the scratch pad range
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 29 Oct 2015 15:29:16 +0000
- Subject: Re: [PATCH] [PATCH] Don't displaced step when there's a breakpoint in the scratch pad range
- Authentication-results: sourceware.org; auth=none
- References: <1445947324-17093-1-git-send-email-palves at redhat dot com>
Pedro Alves <palves@redhat.com> writes:
> 2015-10-26 Pedro Alves <palves@redhat.com>
>
> * breakpoint.c (breakpoint_in_range_p)
> (breakpoint_location_address_range_overlap): New functions.
> * breakpoint.h (breakpoint_in_range_p): New declaration.
> * infrun.c (displaced_step_prepare_throw): If there's a breakpoint
> in the scratch pad range, don't displaced step.
LGTM.
--
Yao (éå)