From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12519 invoked by alias); 13 Jul 2008 06:55:32 -0000 Received: (qmail 12511 invoked by uid 22791); 13 Jul 2008 06:55:32 -0000 X-Spam-Check-By: sourceware.org Received: from host0.dyn.jankratochvil.net (HELO host0.dyn.jankratochvil.net) (89.250.240.59) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 13 Jul 2008 06:55:15 +0000 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.2/8.14.2) with ESMTP id m6D6swD7005541; Sun, 13 Jul 2008 08:54:58 +0200 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.2/8.14.2/Submit) id m6D6svT9005540; Sun, 13 Jul 2008 08:54:57 +0200 Date: Sun, 13 Jul 2008 06:55:00 -0000 From: Jan Kratochvil To: Ulrich Weigand Cc: Daniel Jacobowitz , Mark Kettenis , gdb-patches@sourceware.org Subject: Re: [patch] Disable child VMA randomizations Message-ID: <20080713065456.GA5510@host0.dyn.jankratochvil.net> References: <20080627204642.GA18461@host0.dyn.jankratochvil.net> <200807122116.m6CLGOQK002820@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="FCuugMFkClbJLl1L" Content-Disposition: inline In-Reply-To: <200807122116.m6CLGOQK002820@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00261.txt.bz2 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 329 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 --FCuugMFkClbJLl1L Content-Type: text/plain; charset=us-ascii Content-Disposition: inline; filename="gdb-derandomize-nonlinux-test.patch" Content-length: 792 2008-07-13 Jan Kratochvil * 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 $" { --FCuugMFkClbJLl1L--