This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Breakpoint loss under low memory conditions
- From: "Stoll, Walter" <walter dot stoll at siemens dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Tue, 20 Nov 2018 07:31:08 +0000
- Subject: Breakpoint loss under low memory conditions
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