[patch] Disable child VMA randomizations

Ulrich Weigand uweigand@de.ibm.com
Sat Jul 12 21:16:00 GMT 2008


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



More information about the Gdb-patches mailing list