gdb: new command 'maint flush dcache'
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 20 Nov 2020 19:34:21 +0000 (19:34 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Sun, 13 Dec 2020 12:36:16 +0000 (12:36 +0000)
commitee9812a00153ad788319dae1cde901cf216f9fba
treef70cd83590cd7d42a6e81d6f7958bce5b40a1d45
parent50a5f1878e22b09ebea30ad60a2164b80af6efdb
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/ChangeLog
gdb/NEWS
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/target-dcache.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/dcache-flush.c [new file with mode: 0644]
gdb/testsuite/gdb.base/dcache-flush.exp [new file with mode: 0644]