Browse Source

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>
tags/v0.3.0-rc0
David Brownell 14 years ago
parent
commit
f593ff0a3d
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/target/target.c

+ 2
- 0
src/target/target.c View File

@@ -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++)


Loading…
Cancel
Save