diff options
author | Pedro Alves <palves@redhat.com> | 2016-08-23 23:17:12 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-08-23 23:17:50 +0100 |
commit | 69389fd9fba29ab078f63d366612028fd1de25ab (patch) | |
tree | 2e2992741ac0ff829a450a46bcfe519be9d9ca59 /gdb/arm-linux-nat.c | |
parent | 7157552b0f8b4bb74910d85808244029c89229ff (diff) | |
download | gdb-69389fd9fba29ab078f63d366612028fd1de25ab.zip gdb-69389fd9fba29ab078f63d366612028fd1de25ab.tar.gz gdb-69389fd9fba29ab078f63d366612028fd1de25ab.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-23 Pedro Alves <palves@redhat.com>
* linux-amd64-ipa.c (alloc_jump_pad_buffer) [__ILP32__]: Try
allocating around 0x80000000.
Diffstat (limited to 'gdb/arm-linux-nat.c')
0 files changed, 0 insertions, 0 deletions