Cygwin: Improve FAQ on early breakpoint for ASLR

gdb supports the 'disable-randomization' setting on Windows since [1]
(included in gdb 13).

https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=bcb9251f029da8dcf360a4f5acfa3b4211c87bb0;hp=8fea1a81c7d9279a6f91e49ebacfb61e0f8ce008
This commit is contained in:
Jon Turney 2022-11-01 16:52:57 +00:00
parent 564c88b898
commit 8c68a8a489
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
1 changed files with 6 additions and 0 deletions

View File

@ -844,6 +844,12 @@ Guide here: <ulink url="https://cygwin.com/cygwin-ug-net/dll.html"/>.
Note that the DllMain entrypoints for linked DLLs will have been executed
before this breakpoint is hit.
</para>
<para>
(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.)
</para>
</answer></qandaentry>
<qandaentry id="faq.programming.debug">