From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Ulrich Weigand <uweigand@de.ibm.com>
Cc: gdb-patches@sourceware.org, patches@linaro.org
Subject: Re: [rfc, gdbserver] Disable address space randomization
Date: Thu, 29 Sep 2011 18:12:00 -0000 [thread overview]
Message-ID: <20110929175714.GA18394@host1.jankratochvil.net> (raw)
In-Reply-To: <201109212323.p8LNNTG1006616@d06av02.portsmouth.uk.ibm.com>
Hi Ulrich,
On Wed, 21 Sep 2011 18:23:34 +0200, Ulrich Weigand wrote:
> At this point this happens unconditionally, whenever the kernel
> supports the personality system call. If necessary, it would
> be possible to make this configurable by adding a command line
> argument to gdbserver ...
I do not find too great it cannot be disabled. This makes inferior problems
reproducibility worse. There should be command-line option for legacy and/or
remote command for extended mode but that is obvious.
Still it is probably better even unconditionally.
> Tested on i386-linux. Fixes a couple of test failures on Ubuntu.
I guess it has PIE by default? I am aware some PIE corner cases need more
fixes (and Fedora contains some more PIE patches even formerly posted but
those patches are not well made).
Thanks,
Jan
next prev parent reply other threads:[~2011-09-29 17:57 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-21 16:56 Ulrich Weigand
2011-09-29 18:12 ` Jan Kratochvil [this message]
2011-09-30 15:08 ` Ulrich Weigand
2011-09-30 19:32 ` Pedro Alves
2011-10-05 18:33 ` [rfc v2, rfa-doc] Disable address space randomization with remote targets Ulrich Weigand
2011-10-05 18:44 ` Eli Zaretskii
2011-10-07 12:08 ` Ulrich Weigand
2011-10-05 20:10 ` Tom Tromey
2011-10-06 13:25 ` Pedro Alves
2011-10-07 12:15 ` 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=20110929175714.GA18394@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=patches@linaro.org \
--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