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:
parent
564c88b898
commit
8c68a8a489
|
@ -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
|
Note that the DllMain entrypoints for linked DLLs will have been executed
|
||||||
before this breakpoint is hit.
|
before this breakpoint is hit.
|
||||||
</para>
|
</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>
|
</answer></qandaentry>
|
||||||
|
|
||||||
<qandaentry id="faq.programming.debug">
|
<qandaentry id="faq.programming.debug">
|
||||||
|
|
Loading…
Reference in New Issue