public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: hilbert <swdtian@163.com>
To: gdb@sourceware.org
Subject: Why are  these two methods default_memory_insert_breakpoint() and default_memory_remove_breakpoint() called multiple times
Date: Wed, 31 May 2023 17:12:32 +0800 (CST)	[thread overview]
Message-ID: <3141f115.df17.18871148f89.Coremail.swdtian@163.com> (raw)

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


             reply	other threads:[~2023-05-31  9:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-31  9:12 hilbert [this message]
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

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=3141f115.df17.18871148f89.Coremail.swdtian@163.com \
    --to=swdtian@163.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).