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/record-btrace.h | |
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/record-btrace.h')
0 files changed, 0 insertions, 0 deletions