aboutsummaryrefslogtreecommitdiff
path: root/opcodes/i386-dis.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-01-13 09:05:55 +0000
committerJan Hubicka <jh@suse.cz>2001-01-13 09:05:55 +0000
commite2914f484eed1dc5a9abd52301dae35f7500ff48 (patch)
tree219463cfd50346692bb759efd223bdfd6c2fb8ad /opcodes/i386-dis.c
parent272d76e0cbba693781509c939ddfda5941a50e9d (diff)
downloadgdb-e2914f484eed1dc5a9abd52301dae35f7500ff48.zip
gdb-e2914f484eed1dc5a9abd52301dae35f7500ff48.tar.gz
gdb-e2914f484eed1dc5a9abd52301dae35f7500ff48.tar.bz2
* i386.c (md_assemble): Check cpu_flags even for nullary instructions.
* i386.h (i386_optab): Fix pusha and ret templates. * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret templates.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r--opcodes/i386-dis.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index ca9c39d..5667d77 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -661,8 +661,8 @@ static const struct dis386 dis386_att[] = {
/* c0 */
{ GRP2b },
{ GRP2S },
- { "retP", Iw, XX, XX },
- { "retP", XX, XX, XX },
+ { "retI", Iw, XX, XX },
+ { "retI", XX, XX, XX },
{ "lesS", Gv, Mp, XX },
{ "ldsS", Gv, Mp, XX },
{ "movA", Eb, Ib, XX },
@@ -670,12 +670,12 @@ static const struct dis386 dis386_att[] = {
/* c8 */
{ "enterI", Iw, Ib, XX },
{ "leaveI", XX, XX, XX },
- { "lretI", Iw, XX, XX },
- { "lretI", XX, XX, XX },
+ { "lretP", Iw, XX, XX },
+ { "lretP", XX, XX, XX },
{ "int3", XX, XX, XX },
{ "int", Ib, XX, XX },
{ "into", XX, XX, XX},
- { "iretI", XX, XX, XX },
+ { "iretP", XX, XX, XX },
/* d0 */
{ GRP2b_one },
{ GRP2S_one },
@@ -1256,12 +1256,12 @@ static const struct dis386 disx86_64_att[] = {
/* c8 */
{ "enterI", Iw, Ib, XX },
{ "leaveI", XX, XX, XX },
- { "lretI", Iw, XX, XX },
- { "lretI", XX, XX, XX },
+ { "lretP", Iw, XX, XX },
+ { "lretP", XX, XX, XX },
{ "int3", XX, XX, XX },
{ "int", Ib, XX, XX },
{ "(bad)", XX, XX, XX }, /* reserved. */
- { "iretI", XX, XX, XX },
+ { "iretP", XX, XX, XX },
/* d0 */
{ GRP2b_one },
{ GRP2S_one },