This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc, gdbserver] Disable address space randomization


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]