From f593ff0a3dd08052648da61a75f5ad5a35945194 Mon Sep 17 00:00:00 2001 From: David Brownell Date: Thu, 22 Oct 2009 12:05:04 -0700 Subject: [PATCH] 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 --- src/target/target.c | 2 ++ 1 file changed, 2 insertions(+) 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++) -- 2.39.5