diff options
author | John Gilmore <gnu@cygnus> | 1991-11-08 01:50:51 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-11-08 01:50:51 +0000 |
commit | 1bf068b8a02f4e0f05f21cd7a305f6bc1d473767 (patch) | |
tree | 498bb3ea09d2113c56a48650c188644b731bf4dd /gdb/am29k-pinsn.c | |
parent | c8072296ee7a6dbf189d561ebc9524ae081392ef (diff) | |
download | gdb-1bf068b8a02f4e0f05f21cd7a305f6bc1d473767.zip gdb-1bf068b8a02f4e0f05f21cd7a305f6bc1d473767.tar.gz gdb-1bf068b8a02f4e0f05f21cd7a305f6bc1d473767.tar.bz2 |
Fix decoding of mtacc, dmac, fmac. These files should really get merged
with the ones in BFD and the assembler, but c'est la vie.
Diffstat (limited to 'gdb/am29k-pinsn.c')
-rw-r--r-- | gdb/am29k-pinsn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/am29k-pinsn.c b/gdb/am29k-pinsn.c index 4791348..d0e18fc 100644 --- a/gdb/am29k-pinsn.c +++ b/gdb/am29k-pinsn.c @@ -233,11 +233,11 @@ print_insn (memaddr, stream) break; case 'F': - fprintf_filtered (stream, "%d", (insn0 >> 18) & 15); + fprintf_filtered (stream, "%d", (insn16 >> 2) & 15); break; case 'C': - fprintf_filtered (stream, "%d", (insn0 >> 16) & 3); + fprintf_filtered (stream, "%d", insn16 & 3); break; default: |