This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Disable child VMA randomizations


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]