From ee9812a00153ad788319dae1cde901cf216f9fba Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Fri, 20 Nov 2020 19:34:21 +0000 Subject: gdb: new command 'maint flush dcache' Add a new command to flush the dcache. gdb/ChangeLog: * NEWS: Mention new commands. * target-dcache.c: Add 'cli/cli-cmds.h' include. (maint_flush_dcache_command): New function. (_initialize_target_dcache): Create new 'maint flush dcache' command. gdb/doc/ChangeLog: * gdb.texinfo (Caching Target Data): Document 'maint flush dcache'. gdb/testsuite/ChangeLog: * gdb.base/dcache-flush.c: New file. * gdb.base/dcache-flush.exp: New file. --- gdb/NEWS | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/NEWS') diff --git a/gdb/NEWS b/gdb/NEWS index 4d96388..66702862 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -44,6 +44,9 @@ maintenance flush register-cache These new commands are equivalent to the already existing commands 'maintenance flush-symbol-cache' and 'flushregs' respectively. +maintenance flush dcache + A new command to flush the dcache. + * Changed commands break [PROBE_MODIFIER] [LOCATION] [thread THREADNUM] -- cgit v1.1