This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Disable child VMA randomizations
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: Daniel Jacobowitz <drow at false dot org>, Mark Kettenis <mark dot kettenis at xs4all dot nl>, gdb-patches at sourceware dot org
- Date: Sun, 13 Jul 2008 08:54:56 +0200
- Subject: Re: [patch] Disable child VMA randomizations
- References: <20080627204642.GA18461@host0.dyn.jankratochvil.net> <200807122116.m6CLGOQK002820@d12av02.megacenter.de.ibm.com>
On Sat, 12 Jul 2008 23:16:23 +0200, Ulrich Weigand wrote:
> 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
I see, sorry, going to commit this patch.
Regards,
Jan
2008-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.base/randomize.exp: Catch non-Linux targets as untested.
--- ./gdb/testsuite/gdb.base/randomize.exp 10 Jul 2008 20:16:27 -0000 1.2
+++ ./gdb/testsuite/gdb.base/randomize.exp 13 Jul 2008 06:52:48 -0000
@@ -51,7 +51,11 @@ proc address_get { testname } {
set test "set disable-randomization off"
gdb_test_multiple "${test}" "${test}" {
-re "Disabling randomization .* unsupported .*$gdb_prompt $" {
- untested "No randomization supported by this GDB"
+ untested "Disabling randomization is not supported on this Linux GDB"
+ return -1
+ }
+ -re "No symbol .* in current context.*$gdb_prompt $" {
+ untested "Disabling randomization is not supported on this GDB platform"
return -1
}
-re "$gdb_prompt $" {