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


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


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