Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: Daniel Jacobowitz <drow@false.org>,
	        Mark Kettenis <mark.kettenis@xs4all.nl>,
	gdb-patches@sourceware.org
Subject: Re: [patch] Disable child VMA randomizations
Date: Sun, 13 Jul 2008 06:55:00 -0000	[thread overview]
Message-ID: <20080713065456.GA5510@host0.dyn.jankratochvil.net> (raw)
In-Reply-To: <200807122116.m6CLGOQK002820@d12av02.megacenter.de.ibm.com>

[-- Attachment #1: Type: text/plain, Size: 329 bytes --]

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

[-- Attachment #2: gdb-derandomize-nonlinux-test.patch --]
[-- Type: text/plain, Size: 792 bytes --]

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 $" {

  reply	other threads:[~2008-07-13  6:55 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-07 19:54 Jan Kratochvil
2008-06-07 20:41 ` Andreas Schwab
2008-06-08  9:43   ` Jan Kratochvil
2008-06-08 10:39     ` Eli Zaretskii
2008-06-08 11:38       ` Jan Kratochvil
2008-06-07 20:43 ` Eli Zaretskii
2008-06-08 15:14 ` Mark Kettenis
2008-06-08 16:44   ` Jan Kratochvil
2008-06-26 15:52     ` Daniel Jacobowitz
2008-06-27 23:19       ` Jan Kratochvil
2008-07-09 21:15         ` Daniel Jacobowitz
2008-07-10  9:34           ` Jan Kratochvil
2008-07-12 21:16         ` Ulrich Weigand
2008-07-13  6:55           ` Jan Kratochvil [this message]
2008-07-15 18:41             ` Ulrich Weigand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080713065456.GA5510@host0.dyn.jankratochvil.net \
    --to=jan.kratochvil@redhat.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    --cc=mark.kettenis@xs4all.nl \
    --cc=uweigand@de.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox