This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Disable child VMA randomizations
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: jan dot kratochvil at redhat dot com (Jan Kratochvil)
- Cc: drow at false dot org (Daniel Jacobowitz), mark dot kettenis at xs4all dot nl (Mark Kettenis), gdb-patches at sourceware dot org
- Date: Sat, 12 Jul 2008 23:16:23 +0200 (CEST)
- Subject: Re: [patch] Disable child VMA randomizations
Jan Kratochvil wrote:
> * gdb.base/randomize.exp, gdb.base/randomize.c: New files.
This test case still fails on non-Linux targets.
This test:
> +set test "set disable-randomization off"
> +gdb_test_multiple "${test}" "${test}" {
> + -re "Disabling randomization .* unsupported .*$gdb_prompt $" {
> + untested "No randomization supported by this GDB"
> + return -1
> + }
> + -re "$gdb_prompt $" {
> + pass $test
> + }
> +}
does not trigger as the command is not even registered:
(gdb) set disable-randomization off^M
No symbol "disable" in current context.^M
(gdb) PASS: gdb.base/randomize.exp: set disable-randomization off
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com