diff options
author | Andrey Volkov <avolkov@transas.com> | 2002-05-17 18:52:58 +0000 |
---|---|---|
committer | Andrey Volkov <avolkov@transas.com> | 2002-05-17 18:52:58 +0000 |
commit | 906709f48c964236ec3b789a69689fddd9bfae21 (patch) | |
tree | 0dd6d62d57a80a15dd0ad50533dddae122ddc78b | |
parent | 3b02cf92817ecdaee31b9b46ea67e0b0821b4340 (diff) | |
download | gdb-906709f48c964236ec3b789a69689fddd9bfae21.zip gdb-906709f48c964236ec3b789a69689fddd9bfae21.tar.gz gdb-906709f48c964236ec3b789a69689fddd9bfae21.tar.bz2 |
*h8300-tdep.c: Add additional CCR flags (I,UI,H,U)
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/h8300-tdep.c | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 80df40d..6f6b9a6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 2002-05-17 Andrey Volkov <avolkov@transas.com> + * h8300-tdep.c: Add additional CCR flags (I,UI,H,U) + +2002-05-17 Andrey Volkov <avolkov@transas.com> + * h8300-tdep.c: Change literal regnums to REGNO. 2002-05-17 Jim Blandy <jimb@redhat.com> diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c index 7d79fcc..c642386 100644 --- a/gdb/h8300-tdep.c +++ b/gdb/h8300-tdep.c @@ -838,8 +838,10 @@ h8300_print_register_hook (int regno) frame_register_read (selected_frame, regno, b); l = b[REGISTER_VIRTUAL_SIZE (CCR_REGNUM) - 1]; printf_unfiltered ("\t"); - printf_unfiltered ("I-%d - ", (l & 0x80) != 0); - printf_unfiltered ("H-%d - ", (l & 0x20) != 0); + printf_unfiltered ("I-%d ", (l & 0x80) != 0); + printf_unfiltered ("UI-%d ", (l & 0x40) != 0); + printf_unfiltered ("H-%d ", (l & 0x20) != 0); + printf_unfiltered ("U-%d ", (l & 0x10) != 0); N = (l & 0x8) != 0; Z = (l & 0x4) != 0; V = (l & 0x2) != 0; |