On 04/11/2022 15:29, Pedro Alves wrote:
On 2022-11-04 12:53 p.m., Jon Turney wrote:
+<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>
Typo: debugee -> debuggee
Thanks for catching that.
Patch attached.
Note that "on" is the default.
True. But the API used by gdb to turn off ASLR isn't supported by some
versions of Windows.
This sentence could be a lot more explicit about all the details here,
but I'm just trying to be brief.
From be24c9b69e72648690a477fd2f15b0a9c6374713 Mon Sep 17 00:00:00 2001
From: Jon Turney <jon.tur...@dronecode.org.uk>
Date: Sat, 12 Nov 2022 14:16:36 +0000
Subject: [PATCH] Cygwin: Fix typo in FAQ
The consonant in 'debug' is doubled in 'debuggee' just as it is in
'debugger'.
Fixes: 8c68a8a4
---
winsup/doc/faq-programming.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winsup/doc/faq-programming.xml b/winsup/doc/faq-programming.xml
index 36d0a401f..89c309af2 100644
--- a/winsup/doc/faq-programming.xml
+++ b/winsup/doc/faq-programming.xml
@@ -847,7 +847,7 @@ Guide here: <ulink
url="https://cygwin.com/cygwin-ug-net/dll.html"/>.
<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
+ disable-randomization on</command> to turn off ASLR for the debuggee to
prevent the base address getting randomized.)
</para>
</answer></qandaentry>
--
2.38.1