From: David Brownell Date: Thu, 22 Oct 2009 19:05:04 +0000 (-0700) Subject: have "reg" command print cache names too X-Git-Tag: v0.3.0-rc0~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f593ff0a3dd08052648da61a75f5ad5a35945194;p=openocd 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 --- 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++)