* remote watchpoint
@ 2015-11-08 13:18 Juha Aaltonen
2015-11-09 15:05 ` Yao Qi
0 siblings, 1 reply; 2+ messages in thread
From: Juha Aaltonen @ 2015-11-08 13:18 UTC (permalink / raw)
To: gdb-mailing list
How does a remote server/stub tell gdb which watchpoint fired?
Also, how does gdb know how many breakpoints/watchpoints are available?
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: remote watchpoint
2015-11-08 13:18 remote watchpoint Juha Aaltonen
@ 2015-11-09 15:05 ` Yao Qi
0 siblings, 0 replies; 2+ messages in thread
From: Yao Qi @ 2015-11-09 15:05 UTC (permalink / raw)
To: Juha Aaltonen; +Cc: gdb-mailing list
Juha Aaltonen <turbopultti@gmail.com> writes:
> How does a remote server/stub tell gdb which watchpoint fired?
The stub sends stop reply back to GDB with 'watch', 'rwatch' and
'awatch', see details in
https://sourceware.org/gdb/current/onlinedocs/gdb/Stop-Reply-Packets.html
> Also, how does gdb know how many breakpoints/watchpoints are available?
In the remote debugging, GDB doesn't know how many
breakpoint/watchpoints available, but it can tell from the reply of Z
packet. See more descriptions on Z packets
https://sourceware.org/gdb/current/onlinedocs/gdb/Packets.html
--
Yao (齐尧)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-11-09 15:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-08 13:18 remote watchpoint Juha Aaltonen
2015-11-09 15:05 ` Yao Qi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).