This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Disable child VMA randomizations
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Mark Kettenis <mark dot kettenis at xs4all dot nl>, gdb-patches at sourceware dot org
- Date: Wed, 9 Jul 2008 17:14:40 -0400
- Subject: Re: [patch] Disable child VMA randomizations
- References: <20080607195343.GA10039@host0.dyn.jankratochvil.net> <200806081513.m58FDwbn000386@brahms.sibelius.xs4all.nl> <20080608164331.GA6358@host0.dyn.jankratochvil.net> <20080626144150.GL22726@caradoc.them.org> <20080627204642.GA18461@host0.dyn.jankratochvil.net>
On Fri, Jun 27, 2008 at 10:46:42PM +0200, Jan Kratochvil wrote:
> 2008-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * NEWS (New commands): Mention "set disable-randomization".
> * configure.ac: Add check for HAVE_PERSONALITY and
> HAVE_DECL_ADDR_NO_RANDOMIZE.
> * configure, config.in: Regenerate.
> * linux-nat.c [HAVE_PERSONALITY]: New include <sys/personality.h>.
> [HAVE_PERSONALITY] [!HAVE_DECL_ADDR_NO_RANDOMIZE]: Set
> ADDR_NO_RANDOMIZE.
> (disable_randomization, show_disable_randomization)
> (set_disable_randomization): New.
> (linux_nat_create_inferior) [HAVE_PERSONALITY]: New variables
> PERSONALITY_ORIG and PERSONALITY_SET. Disable randomization upon the
> variable DISABLE_RANDOMIZATION.
> (_initialize_linux_nat): Call ADD_SETSHOW_BOOLEAN_CMD for the variable
> DISABLE_RANDOMIZATION.
>
> 2008-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.texinfo (Starting): Document "set disable-randomization".
>
> 2008-06-27 Jan Kratochvil <jan.kratochvil@redhat.com>
>
> * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
Thanks, this is OK.
--
Daniel Jacobowitz
CodeSourcery