Commit f593ff0a authored by David Brownell's avatar David Brownell
Browse files

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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
parent 344bed2f
......@@ -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++)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment