Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13733
b: refs/heads/master
c: e1449ed
h: refs/heads/master
i:
  13731: 3f5dc82
v: v3
  • Loading branch information
Paul Mackerras committed Nov 10, 2005
1 parent 36eaf78 commit 871e32f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a7ddc5e85351931b67a48afa22788d77763837d8
refs/heads/master: e1449ed956ae29129bde3e5137dde1d579d585ff
13 changes: 7 additions & 6 deletions trunk/arch/powerpc/xmon/xmon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,7 @@ memex(void)
for(;;){
if (!mnoread)
n = mread(adrs, val, size);
printf("%.16x%c", adrs, brev? 'r': ' ');
printf(REG"%c", adrs, brev? 'r': ' ');
if (!mnoread) {
if (brev)
byterev(val, size);
Expand Down Expand Up @@ -1971,17 +1971,18 @@ prdump(unsigned long adrs, long ndump)
nr = mread(adrs, temp, r);
adrs += nr;
for (m = 0; m < r; ++m) {
if ((m & 7) == 0 && m > 0)
putchar(' ');
if ((m & (sizeof(long) - 1)) == 0 && m > 0)
putchar(' ');
if (m < nr)
printf("%.2x", temp[m]);
else
printf("%s", fault_chars[fault_type]);
}
if (m <= 8)
printf(" ");
for (; m < 16; ++m)
for (; m < 16; ++m) {
if ((m & (sizeof(long) - 1)) == 0)
putchar(' ');
printf(" ");
}
printf(" |");
for (m = 0; m < r; ++m) {
if (m < nr) {
Expand Down

0 comments on commit 871e32f

Please sign in to comment.