diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-05-12 15:19:22 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-05-12 15:19:22 +0000 |
commit | 8d5ec59972b838fdd5ebe6039b57cb20254a863f (patch) | |
tree | ab49a13ff439212d4764c2436d08fbf4085a09ae | |
parent | bcee8eb8ca80b00b13e2fde8c44894f55d11e141 (diff) | |
download | gdb-8d5ec59972b838fdd5ebe6039b57cb20254a863f.zip gdb-8d5ec59972b838fdd5ebe6039b57cb20254a863f.tar.gz gdb-8d5ec59972b838fdd5ebe6039b57cb20254a863f.tar.bz2 |
2001-05-12 H.J. Lu <hjl@gnu.org>
* i386-dis.c (print_insn_i386): Always set `mod', `reg' and
`rm'.
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6736d2b..7604c3b 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2001-05-12 H.J. Lu <hjl@gnu.org> + + * i386-dis.c (print_insn_i386): Always set `mod', `reg' and + `rm'. + 2001-05-12 Peter Targett <peter.targett@arccores.com> * arc-opc.c (arc_reg_names): Correct attribute for lp_count diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 4eb57da..4818a7b 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -3146,6 +3146,12 @@ print_insn_i386 (pc, info) reg = (*codep >> 3) & 7; rm = *codep & 7; } + else + { + mod = 0; + reg = 0; + rm = 0; + } if (dp->name == NULL && dp->bytemode1 == FLOATCODE) { |