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, 10 Jun 2020 21:26:05 +0000 (17:26 -0400)
commitd3068b79e8ea73a7d5881b64737b2c3c625def2a
tree0204c5fe4d47fb638bc7feafd148184c84cbd8f7
parente10250a6e063232a344fc33152b7a328467047ef
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.024213 seconds and 4 git commands to generate.