gdb: use two displaced step buffers on amd64-linux
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 16 Mar 2020 21:36:09 +0000 (17:36 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 8 Jul 2020 18:19:09 +0000 (14:19 -0400)
commit0dda35b49a9e5f10682d6e5bb99f03267bb64e34
tree1907741ff686cf5607b0e07d1c66edf08e1d57b7
parentb5fcb3713e5119fe0131e001677cdd371df38c9b
gdb: use two displaced step buffers on amd64-linux

At least as observed with gcc 9, there is enough space at _start to have
two displaced stepping buffers of 16 bytes.

An alternative way is to call mmap in the inferior to allocate one or
more executable pages.  However, this is more intrusive.
gdb/amd64-linux-tdep.c
gdb/displaced-stepping.h
gdb/infrun.c
gdb/observable.c
gdb/observable.h
This page took 0.02439 seconds and 4 git commands to generate.