public inbox for
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: Improve FAQ on early breakpoint for ASLR
@ 2022-11-04 15:11 Jon TURNEY
  0 siblings, 0 replies; only message in thread
From: Jon TURNEY @ 2022-11-04 15:11 UTC (permalink / raw)
  To: cygwin-cvs;h=8c68a8a4898f2607bf940716dbce5654f10c481b

commit 8c68a8a4898f2607bf940716dbce5654f10c481b
Author: Jon Turney <>
Date:   Tue Nov 1 16:52:57 2022 +0000

    Cygwin: Improve FAQ on early breakpoint for ASLR
    gdb supports the 'disable-randomization' setting on Windows since [1]
    (included in gdb 13).;a=commitdiff;h=bcb9251f029da8dcf360a4f5acfa3b4211c87bb0;hp=8fea1a81c7d9279a6f91e49ebacfb61e0f8ce008

 winsup/doc/faq-programming.xml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/winsup/doc/faq-programming.xml b/winsup/doc/faq-programming.xml
index 7945b6b88..36d0a401f 100644
--- a/winsup/doc/faq-programming.xml
+++ b/winsup/doc/faq-programming.xml
@@ -844,6 +844,12 @@ Guide here: <ulink url=""/>.
   Note that the DllMain entrypoints for linked DLLs will have been executed
   before this breakpoint is hit.
+  (It may be necessary to use the <command>gdb</command> command <command>set
+  disable-randomization on</command> to turn off ASLR for the debugee to
+  prevent the base address getting randomized.)
 <qandaentry id="faq.programming.debug">

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-04 15:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-04 15:11 [newlib-cygwin] Cygwin: Improve FAQ on early breakpoint for ASLR Jon TURNEY

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