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>
Thu, 4 Jun 2020 19:04:21 +0000 (15:04 -0400)
commitc0fdb45ee500f3c3e0d15ad62a7b59a4cb4c2ce2
treeb7e0b04c39c60b7d0da7edfd370c8759117912ae
parent9635ae5d4adf68bbc1420637a252919dba22e126
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.025107 seconds and 4 git commands to generate.