public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Why are  these two methods default_memory_insert_breakpoint() and default_memory_remove_breakpoint() called multiple times
@ 2023-05-31  9:12 hilbert
  2023-05-31 15:57 ` John Baldwin
  0 siblings, 1 reply; 5+ messages in thread
From: hilbert @ 2023-05-31  9:12 UTC (permalink / raw)
  To: gdb

[-- Attachment #1: Type: text/plain, Size: 392 bytes --]

Hi,

         I just inserted a breakpoint, shouldn't the two methods default_memory_insert_breakpoint() and default_memory_remove_breakpoint() be used only once?

There is only one breakpoint, why both functions default_memory_insert_breakpoint() and default_memory_remove_breakpoint() are called before stopping and after stopping (after the continue command), why?


Thank you very much.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-02  2:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-31  9:12 Why are these two methods default_memory_insert_breakpoint() and default_memory_remove_breakpoint() called multiple times hilbert
2023-05-31 15:57 ` John Baldwin
2023-06-01  1:50   ` hilbert
2023-06-01 17:09     ` John Baldwin
2023-06-02  2:09       ` hilbert

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).