This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc, gdbserver] Disable address space randomization
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Cc: "Ulrich Weigand" <uweigand at de dot ibm dot com>, Jan Kratochvil <jan dot kratochvil at redhat dot com>, patches at linaro dot org
- Date: Fri, 30 Sep 2011 17:15:06 +0100
- Subject: Re: [rfc, gdbserver] Disable address space randomization
- References: <201109301317.p8UDH8s5023472@d06av02.portsmouth.uk.ibm.com>
On Friday 30 September 2011 14:17:08, Ulrich Weigand wrote:
> As to the remote command for extended mode, I'm not completely sure what
> the best way to trigger that from within GDB should be. Should we promote
> "set disable-randomization" from being a Linux-specific command to the
> generic level, and have its value passed to the target by remote.c?
Yes. This came up recently for (native) Darwin/OSX too. That target now
always disables ASR, and it'd be good to give the user the option
to re-enable it.
> Or else a new QDisableRandomization packet that affects all subsequent
> vRun commands?
I think that's the best. It's kind of similar to "set disconnected-tracing"
and "set circular-trace-buffer".
--
Pedro Alves