x32 Fast tracepoints: Customize jump pad address
authorPedro Alves <palves@redhat.com>
Fri, 19 Aug 2016 11:07:45 +0000 (12:07 +0100)
committerPedro Alves <palves@redhat.com>
Fri, 19 Aug 2016 11:11:30 +0000 (12:11 +0100)
commit9c235a72a112c5656f17499c0c0d3ad73609833d
treebcbc1378ccf3e5264badee159d0ac1eef508973d
parent201506dadd117df72d0528f735e44ce2e68cc66f
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.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-amd64-ipa.c
This page took 0.044506 seconds and 4 git commands to generate.