[PATCH 0/2] Organise maintenance commands that flush caches
Andrew Burgess
andrew.burgess@embecosm.com
Mon Nov 23 10:39:35 GMT 2020
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
More information about the Gdb-patches
mailing list