diff options
author | Pedro Alves <palves@redhat.com> | 2016-08-19 12:07:45 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-08-19 12:11:30 +0100 |
commit | 9c235a72a112c5656f17499c0c0d3ad73609833d (patch) | |
tree | bcbc1378ccf3e5264badee159d0ac1eef508973d /gdb/gdbserver/ChangeLog | |
parent | 201506dadd117df72d0528f735e44ce2e68cc66f (diff) | |
download | gdb-9c235a72a112c5656f17499c0c0d3ad73609833d.zip gdb-9c235a72a112c5656f17499c0c0d3ad73609833d.tar.gz gdb-9c235a72a112c5656f17499c0c0d3ad73609833d.tar.bz2 |
x32 Fast tracepoints: Customize jump pad address
MAP_32BIT is ignored on x32, meaning the jump pad can end up somewhere
between 2GB and 4GB, too far away from the executable for 5-byte
relative jumps (JMP rel32). So on x32, try explicitly placing the
jump pad near the middle of the available address space.
gdb/gdbserver/ChangeLog:
2016-08-19 Pedro Alves <palves@redhat.com>
* linux-amd64-ipa.c (alloc_jump_pad_buffer) [__ILP32__]: Try
allocating around 0x80000000.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 833075d..ed53648 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,5 +1,10 @@ 2016-08-19 Pedro Alves <palves@redhat.com> + * linux-amd64-ipa.c (alloc_jump_pad_buffer) [__ILP32__]: Try + allocating around 0x80000000. + +2016-08-19 Pedro Alves <palves@redhat.com> + PR gdb/20415 * Makefile.in (x32-linux-ipa.o, x32-avx-linux-ipa.o) (x32-avx512-linux-ipa.o): New rules. |