diff options
author | Tom Tromey <tom@tromey.com> | 2017-11-22 09:30:21 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-11-26 10:42:15 -0700 |
commit | 41272101db08e20f044dbf0f09b6d79a0fa6c1ac (patch) | |
tree | 0e310fc1f5c505889ac90b7c1955295286822640 /binutils/ChangeLog | |
parent | 44287fd89091a833451e74c79e46404c23fdaf9b (diff) | |
download | gdb-41272101db08e20f044dbf0f09b6d79a0fa6c1ac.zip gdb-41272101db08e20f044dbf0f09b6d79a0fa6c1ac.tar.gz gdb-41272101db08e20f044dbf0f09b6d79a0fa6c1ac.tar.bz2 |
Change maybe_disable_address_space_randomization to a class
This changes maybe_disable_address_space_randomization to be an RAII
class, rather than having it return a cleanup.
Regression tested by the buildbot.
ChangeLog
2017-11-26 Tom Tromey <tom@tromey.com>
* nat/linux-personality.h (class
maybe_disable_address_space_randomization): New class.
(maybe_disable_address_space_randomization): Don't declare
function.
* nat/linux-personality.c (restore_personality)
(make_disable_asr_cleanup): Remove.
(maybe_disable_address_space_randomization): Now a constructor.
(~maybe_disable_address_space_randomization): New destructor.
* linux-nat.c (linux_nat_create_inferior): Update.
gdbserver/ChangeLog
2017-11-26 Tom Tromey <tom@tromey.com>
* linux-low.c (linux_create_inferior): Update.
Diffstat (limited to 'binutils/ChangeLog')
0 files changed, 0 insertions, 0 deletions