Breakpoint loss under low memory conditions
"Stoll, Walter" <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <25100483E4CD1F4087B0A40EBF04FFBD1D5BE7B7@DENBGAT9EH3MSX.ww902.siemens.net> |
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