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


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


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