Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Stoll, Walter" <walter.stoll@siemens.com>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Breakpoint loss under low memory conditions
Date: Tue, 20 Nov 2018 07:31:00 -0000	[thread overview]
Message-ID: <25100483E4CD1F4087B0A40EBF04FFBD1D5BE7B7@DENBGAT9EH3MSX.ww902.siemens.net> (raw)

Ladies and Gentlemen

Under low memory conditions, the Linux kernel may evict pages that contain executable code sections. If such a page was modified by a breakpoint, then the breakpoint will get lost when the page is finally faulted in. Is this a scenario that can happen in reality or does gdb and/or the kernel provide some means which prevent this from happening ?

Regards
Walter Stoll


             reply	other threads:[~2018-11-20  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-20  7:31 Stoll, Walter [this message]
2018-11-20 16:16 ` dwk

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=25100483E4CD1F4087B0A40EBF04FFBD1D5BE7B7@DENBGAT9EH3MSX.ww902.siemens.net \
    --to=walter.stoll@siemens.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