OSDN Git Service

gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 10 Jul 2008 09:31:00 +0000 (09:31 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 10 Jul 2008 09:31:00 +0000 (09:31 +0000)
commit7272de62c9f0070030e9cb8da7b9287b3dd5c57b
treedc12eab76e82dbd6ab296c2fa8eac3231383e9a2
parent36c3689038f265604e6525c47e8bd5d20a4ad100
gdb/
* NEWS (New commands): Mention "set disable-randomization".
* configure.ac: Add check for HAVE_PERSONALITY and
HAVE_DECL_ADDR_NO_RANDOMIZE.
* configure, config.in: Regenerate.
* linux-nat.c [HAVE_PERSONALITY]: New include <sys/personality.h>.
[HAVE_PERSONALITY] [!HAVE_DECL_ADDR_NO_RANDOMIZE]: Set
ADDR_NO_RANDOMIZE.
(disable_randomization, show_disable_randomization)
(set_disable_randomization): New.
(linux_nat_create_inferior) [HAVE_PERSONALITY]: New variables
PERSONALITY_ORIG and PERSONALITY_SET.  Disable randomization upon the
variable DISABLE_RANDOMIZATION.
(_initialize_linux_nat): Call ADD_SETSHOW_BOOLEAN_CMD for the variable
DISABLE_RANDOMIZATION.

gdb/doc/
* gdb.texinfo (Starting): Document "set disable-randomization".

gdb/testsuite/
* gdb.base/randomize.exp, gdb.base/randomize.c: New files.
gdb/ChangeLog
gdb/NEWS
gdb/config.in
gdb/configure
gdb/configure.ac
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/linux-nat.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/randomize.c [new file with mode: 0644]
gdb/testsuite/gdb.base/randomize.exp [new file with mode: 0644]