This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Set breakpoint on the right line
- From: Yao Qi <yao at codesourcery dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Wed, 20 Aug 2014 08:17:00 +0800
- Subject: Re: [PATCH] Set breakpoint on the right line
- Authentication-results: sourceware.org; auth=none
- References: <1407806302-14295-1-git-send-email-yao at codesourcery dot com> <20140819063838 dot GB1773 at adacore dot com> <53F3519B dot 3080905 at codesourcery dot com> <20140819134810 dot GJ1773 at adacore dot com>
On 08/19/2014 09:48 PM, Joel Brobecker wrote:
> I actually didn't pre-approve, but never mind :-).
>
Ur, I misunderstood you, sorry.
> I think I understand, now. The problem using the first break-at-exit
> line was that the watchpoint would be triggering at the same location
> the breakpoint was inserted. So the "continue" test right after would
> never hit that breakpoint. If my understanding is correct, the patch
> is officially approved :).
Yes, that is correct.
--
Yao (éå)