From: Juha Aaltonen <turbopultti@gmail.com>
To: gdb-mailing list <gdb@sourceware.org>
Subject: How are watchpoints handled? (remote serial)
Date: Mon, 09 Nov 2015 22:57:00 -0000 [thread overview]
Message-ID: <CAHR0xd6NgsRELcdpbmVjGGQusv756kWMwj5G+NpWE_oN1ErBHA@mail.gmail.com> (raw)
How should the watchpoints be handled by remote stub/server?
It seems that when 'cont'-command is given, gdb re-installs watchpoint
and sends 'c'-packet.
If the return address is the trap address, the watchpoint trigs again,
but if the address is advanced,
the access is not done at all, because the watchpoint makes exception
before the access is made.
next reply other threads:[~2015-11-09 22:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 22:57 Juha Aaltonen [this message]
2015-11-10 23:26 ` Juha Aaltonen
2015-11-10 23:39 ` Juha Aaltonen
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=CAHR0xd6NgsRELcdpbmVjGGQusv756kWMwj5G+NpWE_oN1ErBHA@mail.gmail.com \
--to=turbopultti@gmail.com \
--cc=gdb@sourceware.org \
/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