diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-10-22 12:05:04 -0700 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-10-22 12:05:04 -0700 |
commit | f593ff0a3dd08052648da61a75f5ad5a35945194 (patch) | |
tree | a8a62eee6ef024c46e9cb8c35b76e5edc46f3ca0 | |
parent | 344bed2f7eab5f4ff05fd944b1c476fc8a2103ba (diff) | |
download | openocd+libswd-f593ff0a3dd08052648da61a75f5ad5a35945194.tar.gz openocd+libswd-f593ff0a3dd08052648da61a75f5ad5a35945194.tar.bz2 openocd+libswd-f593ff0a3dd08052648da61a75f5ad5a35945194.tar.xz openocd+libswd-f593ff0a3dd08052648da61a75f5ad5a35945194.zip |
have "reg" command print cache names too
When dumping over 100 registers (as on most ARM9 + ETM cores),
aid readability by splitting them into logical groups.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
-rw-r--r-- | src/target/target.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/target.c b/src/target/target.c index 45162070..eb93fb7b 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -1823,6 +1823,8 @@ static int handle_reg_command(struct command_context_s *cmd_ctx, char *cmd, char { int i; + command_print(cmd_ctx, "===== %s", cache->name); + for (i = 0, reg = cache->reg_list; i < cache->num_regs; i++, reg++, count++) |