From bcb9251f029da8dcf360a4f5acfa3b4211c87bb0 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 8 Sep 2021 08:20:29 -0600 Subject: Allow ASLR to be disabled on Windows On Windows, it is possible to disable ASLR when creating a process. This patch adds code to do this, and hooks it up to gdb's existing disable-randomization feature. Because the Windows documentation cautions that this isn't available on all versions of Windows, the CreateProcess wrapper function is updated to make the attempt, and then fall back to the current approach if it fails. --- gdb/NEWS | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/NEWS') diff --git a/gdb/NEWS b/gdb/NEWS index a85f59f..7164e18 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -71,6 +71,8 @@ maintenance info line-table Python 2. From GDB 13, it will only be possible to build GDB itself with Python 3 support. +* The disable-randomization setting now works on Windows. + * Improved C++ template support GDB now treats functions/types involving C++ templates like it does function -- cgit v1.1