From: Andrew Burgess <andrew.burgess@embecosm.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/2] Organise maintenance commands that flush caches
Date: Mon, 23 Nov 2020 10:39:35 +0000 [thread overview]
Message-ID: <cover.1606126285.git.andrew.burgess@embecosm.com> (raw)
Adds a new maintenance command 'maint flush ', the existing cache
flushing commands are moved under here (with alias added for backward
compatibility), and a new flush command for the dcache is added.
Thanks,
Andrew
--
Andrew Burgess (2):
gdb: introduce new 'maint flush ' prefix command
gdb: new command 'maint flush dcache'
gdb/ChangeLog | 23 +++++++
gdb/NEWS | 8 +++
gdb/cli/cli-cmds.c | 4 ++
gdb/cli/cli-cmds.h | 4 ++
gdb/doc/ChangeLog | 10 +++
gdb/doc/gdb.texinfo | 26 ++++++--
gdb/maint.c | 5 ++
gdb/regcache.c | 11 +++-
gdb/symtab.c | 8 ++-
gdb/target-dcache.c | 19 ++++++
gdb/testsuite/ChangeLog | 16 +++++
gdb/testsuite/gdb.base/c-linkage-name.exp | 2 +-
gdb/testsuite/gdb.base/dcache-flush.c | 33 ++++++++++
gdb/testsuite/gdb.base/dcache-flush.exp | 64 +++++++++++++++++++
gdb/testsuite/gdb.base/killed-outside.exp | 2 +-
gdb/testsuite/gdb.opt/inline-bt.exp | 2 +-
.../gdb.perf/gmonster-null-lookup.py | 2 +-
gdb/testsuite/gdb.perf/gmonster-print-cerr.py | 2 +-
.../gdb.perf/gmonster-ptype-string.py | 2 +-
gdb/testsuite/gdb.python/py-unwind.exp | 2 +-
20 files changed, 230 insertions(+), 15 deletions(-)
create mode 100644 gdb/testsuite/gdb.base/dcache-flush.c
create mode 100644 gdb/testsuite/gdb.base/dcache-flush.exp
--
2.25.4
next reply other threads:[~2020-11-23 10:39 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-23 10:39 Andrew Burgess [this message]
2020-11-23 10:39 ` [PATCH 1/2] gdb: introduce new 'maint flush ' prefix command Andrew Burgess
2020-11-23 15:28 ` Eli Zaretskii via Gdb-patches
2020-11-23 16:24 ` Luis Machado via Gdb-patches
2020-12-03 17:23 ` Tom Tromey
2020-12-13 12:43 ` Andrew Burgess
2020-11-23 10:39 ` [PATCH 2/2] gdb: new command 'maint flush dcache' Andrew Burgess
2020-11-23 15:28 ` Eli Zaretskii via Gdb-patches
2020-11-23 16:28 ` Luis Machado via Gdb-patches
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=cover.1606126285.git.andrew.burgess@embecosm.com \
--to=andrew.burgess@embecosm.com \
--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