From: Joel Brobecker <brobecker@adacore.com>
To: Yao Qi <yao@codesourcery.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Set breakpoint on the right line
Date: Tue, 19 Aug 2014 13:48:00 -0000 [thread overview]
Message-ID: <20140819134810.GJ1773@adacore.com> (raw)
In-Reply-To: <53F3519B.3080905@codesourcery.com>
> > I think you are right, but can you describe the error you are getting
> > with arm-none-eabi?
>
> Sure, the fail is shown as below:
>
> continue^M
> Continuing.^M
> ^M
> *** EXIT code 0^M
> [Inferior 1 (Remote target) exited normally]^M
> (gdb) FAIL: gdb.base/watchpoint-hw-hit-once.exp: continue to break-at-exit (the program exited)
>
> I also copy it in the commit log. Patch is pushed in.
I actually didn't pre-approve, but never mind :-).
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 :).
--
Joel
next prev parent reply other threads:[~2014-08-19 13:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-12 1:22 Yao Qi
2014-08-19 0:50 ` Yao Qi
2014-08-19 6:38 ` Joel Brobecker
2014-08-19 13:35 ` Yao Qi
2014-08-19 13:48 ` Joel Brobecker [this message]
2014-08-20 0:21 ` Yao Qi
2014-08-19 17:20 ` [OB/PUSHED] Remove stale comment (was: Re: [PATCH] Set breakpoint on the right line) Pedro Alves
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140819134810.GJ1773@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=yao@codesourcery.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox