diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2017-02-24 17:02:25 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-02-24 17:02:58 +0000 |
commit | 52c821b027cd9c3db24d15d6813038d9971a373f (patch) | |
tree | 219f89ae2e9b2723a222a9fd474a38298aaffbe5 /risu_m68k.c | |
parent | 2c60806fcc6f9c08609ed1adef3882135a3bb826 (diff) |
ppc64le, m68k: Make reginfo_dump() API match arm, aarch64
Make the reginfo_dump() API for ppc64le and m68k match the one used
for ARM and AArch64, which takes a FILE*, doesn't have a flag for
is_master, and returns a success indication.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'risu_m68k.c')
-rw-r--r-- | risu_m68k.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/risu_m68k.c b/risu_m68k.c index 8c138dd..87776ab 100644 --- a/risu_m68k.c +++ b/risu_m68k.c @@ -135,7 +135,7 @@ int report_match_status(void) fprintf(stderr, "packet mismatch (probably disagreement " "about UNDEF on load/store)\n"); fprintf(stderr, "master reginfo:\n"); - reginfo_dump(&master_ri, 0); + reginfo_dump(&master_ri, stderr); } if (!reginfo_is_eq(&master_ri, &apprentice_ri, NULL)) { fprintf(stderr, "mismatch on regs!\n"); @@ -151,10 +151,10 @@ int report_match_status(void) } fprintf(stderr, "master reginfo:\n"); - reginfo_dump(&master_ri, 1); + reginfo_dump(&master_ri, stderr); fprintf(stderr, "apprentice reginfo:\n"); - reginfo_dump(&apprentice_ri, 0); + reginfo_dump(&apprentice_ri, stderr); reginfo_dump_mismatch(&master_ri, &apprentice_ri, stderr); return resp; |