From: Simon Marchi <simon.marchi@polymtl.ca>
To: gdb-patches@sourceware.org
Subject: [PATCH v2 00/14] Concurrent displaced stepping
Date: Wed, 2 Dec 2020 10:47:51 -0500 [thread overview]
Message-ID: <20201202154805.1484317-1-simon.marchi@polymtl.ca> (raw)
This is v2 of
https://sourceware.org/pipermail/gdb-patches/2020-November/173150.html
I tried to put in each commit log what changed in v2, I hope I didn't
forget anything. Patches 3 and 4 are new.
Simon Marchi (14):
gdb: add inferior_execd observable
gdb: clear inferior displaced stepping state and in-line step-over
info on exec
gdb: restore displaced step buffer bytes when another thread forks
gdb: get rid of get_displaced_stepping_state
gdb: rename things related to step over chains
gdb: rename displaced_step_closure to displaced_step_copy_insn_closure
gdb: rename displaced_step_fixup to displaced_step_finish
gdb: introduce status enum for displaced step prepare/finish
gdb: pass inferior to get_linux_inferior_data
gdb: move displaced stepping types to displaced-stepping.{h,c}
gdb: move displaced stepping logic to gdbarch, allow starting
concurrent displaced steps
gdb: change linux gdbarch data from post to pre-init
gdb: make displaced stepping implementation capable of managing
multiple buffers
gdb: use two displaced step buffers on amd64/Linux
gdb/Makefile.in | 1 +
gdb/aarch64-linux-tdep.c | 3 +-
gdb/aarch64-tdep.c | 18 +-
gdb/aarch64-tdep.h | 5 +-
gdb/alpha-linux-tdep.c | 2 +-
gdb/amd64-linux-tdep.c | 11 +-
gdb/amd64-tdep.c | 23 +-
gdb/amd64-tdep.h | 9 +-
gdb/arc-linux-tdep.c | 2 +-
gdb/arm-linux-tdep.c | 19 +-
gdb/arm-tdep.c | 183 +++----
gdb/arm-tdep.h | 18 +-
gdb/bfin-linux-tdep.c | 2 +-
gdb/cris-linux-tdep.c | 2 +-
gdb/csky-linux-tdep.c | 2 +-
gdb/displaced-stepping.c | 305 +++++++++++
gdb/displaced-stepping.h | 215 ++++++++
gdb/frv-linux-tdep.c | 2 +-
gdb/gdbarch.c | 117 ++++-
gdb/gdbarch.h | 47 +-
gdb/gdbarch.sh | 26 +-
gdb/gdbthread.h | 45 +-
gdb/hppa-linux-tdep.c | 2 +-
gdb/i386-linux-tdep.c | 31 +-
gdb/i386-tdep.c | 14 +-
gdb/i386-tdep.h | 12 +-
gdb/ia64-linux-tdep.c | 2 +-
gdb/inferior.h | 1 +
gdb/infrun.c | 487 ++++++++----------
gdb/infrun.h | 84 +--
gdb/jit.c | 9 +-
gdb/jit.h | 7 -
gdb/linux-tdep.c | 118 ++++-
gdb/linux-tdep.h | 27 +-
gdb/m32r-linux-tdep.c | 2 +-
gdb/m68k-linux-tdep.c | 2 +-
gdb/microblaze-linux-tdep.c | 2 +-
gdb/mips-linux-tdep.c | 2 +-
gdb/mn10300-linux-tdep.c | 2 +-
gdb/nios2-linux-tdep.c | 2 +-
gdb/observable.c | 1 +
gdb/observable.h | 3 +
gdb/or1k-linux-tdep.c | 2 +-
gdb/ppc-linux-tdep.c | 5 +-
gdb/riscv-linux-tdep.c | 2 +-
gdb/rs6000-aix-tdep.c | 6 +-
gdb/rs6000-tdep.c | 94 +++-
gdb/s390-linux-tdep.c | 2 +-
gdb/s390-tdep.c | 22 +-
gdb/sh-linux-tdep.c | 2 +-
gdb/solib.c | 4 +
gdb/sparc-linux-tdep.c | 2 +-
gdb/sparc64-linux-tdep.c | 2 +-
.../gdb.arch/amd64-disp-step-avx.exp | 2 +-
.../forking-threads-plus-breakpoint.exp | 2 +-
.../gdb.threads/non-stop-fair-events.exp | 2 +-
.../gdb.threads/step-over-exec-execd.c | 13 +
gdb/testsuite/gdb.threads/step-over-exec.c | 90 ++++
gdb/testsuite/gdb.threads/step-over-exec.exp | 106 ++++
gdb/testsuite/lib/my-syscalls.S | 46 ++
gdb/testsuite/lib/my-syscalls.h | 25 +
gdb/thread.c | 84 ++-
gdb/tic6x-linux-tdep.c | 2 +-
gdb/tilegx-linux-tdep.c | 2 +-
gdb/xtensa-linux-tdep.c | 2 +-
65 files changed, 1728 insertions(+), 658 deletions(-)
create mode 100644 gdb/displaced-stepping.c
create mode 100644 gdb/displaced-stepping.h
create mode 100644 gdb/testsuite/gdb.threads/step-over-exec-execd.c
create mode 100644 gdb/testsuite/gdb.threads/step-over-exec.c
create mode 100644 gdb/testsuite/gdb.threads/step-over-exec.exp
create mode 100644 gdb/testsuite/lib/my-syscalls.S
create mode 100644 gdb/testsuite/lib/my-syscalls.h
--
2.29.2
next reply other threads:[~2020-12-02 15:48 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-02 15:47 Simon Marchi [this message]
2020-12-02 15:47 ` [PATCH v2 01/14] gdb: add inferior_execd observable Simon Marchi
2020-12-04 1:45 ` Pedro Alves
2020-12-02 15:47 ` [PATCH v2 02/14] gdb: clear inferior displaced stepping state and in-line step-over info on exec Simon Marchi
2020-12-02 17:16 ` Simon Marchi
2020-12-04 1:54 ` Pedro Alves
2020-12-04 20:49 ` Simon Marchi
2020-12-04 1:48 ` Pedro Alves
2020-12-04 21:03 ` Simon Marchi
2020-12-02 15:47 ` [PATCH v2 03/14] gdb: restore displaced step buffer bytes when another thread forks Simon Marchi
2020-12-04 1:48 ` Pedro Alves
2020-12-02 15:47 ` [PATCH v2 04/14] gdb: get rid of get_displaced_stepping_state Simon Marchi
2020-12-04 1:48 ` Pedro Alves
2020-12-04 21:06 ` Simon Marchi
2020-12-02 15:47 ` [PATCH v2 05/14] gdb: rename things related to step over chains Simon Marchi
2020-12-04 1:49 ` Pedro Alves
2020-12-04 21:04 ` Simon Marchi
2020-12-02 15:47 ` [PATCH v2 06/14] gdb: rename displaced_step_closure to displaced_step_copy_insn_closure Simon Marchi
2020-12-04 1:49 ` Pedro Alves
2020-12-02 15:47 ` [PATCH v2 07/14] gdb: rename displaced_step_fixup to displaced_step_finish Simon Marchi
2020-12-04 1:49 ` Pedro Alves
2020-12-02 15:47 ` [PATCH v2 08/14] gdb: introduce status enum for displaced step prepare/finish Simon Marchi
2020-12-04 1:49 ` Pedro Alves
2020-12-04 21:08 ` Simon Marchi
2020-12-02 15:48 ` [PATCH v2 09/14] gdb: pass inferior to get_linux_inferior_data Simon Marchi
2020-12-04 1:50 ` Pedro Alves
2020-12-02 15:48 ` [PATCH v2 10/14] gdb: move displaced stepping types to displaced-stepping.{h, c} Simon Marchi
2020-12-04 1:50 ` Pedro Alves
2020-12-02 15:48 ` [PATCH v2 11/14] gdb: move displaced stepping logic to gdbarch, allow starting concurrent displaced steps Simon Marchi
2020-12-04 1:50 ` Pedro Alves
2020-12-04 21:11 ` Simon Marchi
2020-12-02 15:48 ` [PATCH v2 12/14] gdb: change linux gdbarch data from post to pre-init Simon Marchi
2020-12-04 1:50 ` Pedro Alves
2020-12-02 15:48 ` [PATCH v2 13/14] gdb: make displaced stepping implementation capable of managing multiple buffers Simon Marchi
2020-12-04 1:51 ` Pedro Alves
2020-12-04 21:14 ` Simon Marchi
2020-12-02 15:48 ` [PATCH v2 14/14] gdb: use two displaced step buffers on amd64/Linux Simon Marchi
2020-12-04 1:51 ` Pedro Alves
2020-12-04 1:56 ` [PATCH v2 00/14] Concurrent displaced stepping Pedro Alves
2020-12-04 21:52 ` Simon Marchi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201202154805.1484317-1-simon.marchi@polymtl.ca \
--to=simon.marchi@polymtl.ca \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).