Re: [patch] Disable child VMA randomizations

Ulrich Weigand
2008-07-12T21:16:50Z

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