Deleted Added
full compact
i386-dis.c (256281) i386-dis.c (261307)
1/* Print i386 instructions for GDB, the GNU debugger.
2 Copyright 1988, 1989, 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by

--- 6243 unchanged lines hidden (view full) ---

6252 if (!intel_syntax)
6253 {
6254 strcpy (op_out[1], names[1]);
6255 two_source_ops = 1;
6256 }
6257
6258 codep++;
6259 }
1/* Print i386 instructions for GDB, the GNU debugger.
2 Copyright 1988, 1989, 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
4
5 This file is part of GDB.
6
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by

--- 6243 unchanged lines hidden (view full) ---

6252 if (!intel_syntax)
6253 {
6254 strcpy (op_out[1], names[1]);
6255 two_source_ops = 1;
6256 }
6257
6258 codep++;
6259 }
6260 else if (modrm.mod == 3 && modrm.reg == 1 && modrm.rm <= 3)
6261 {
6262 size_t olen = strlen (obuf);
6263 char *p = obuf + olen - 4;
6264 if (*codep == 0xca)
6265 strcpy (p, "clac");
6266 else if (*codep == 0xcb)
6267 strcpy (p, "stac");
6268 codep++;
6269 }
6260 else
6261 OP_M (0, sizeflag);
6262}
6263
6264static void
6265XCR_Fixup (int extrachar ATTRIBUTE_UNUSED, int sizeflag)
6266{
6267 if (modrm.mod == 3 && modrm.reg == 2 && modrm.rm <= 1)

--- 350 unchanged lines hidden ---
6270 else
6271 OP_M (0, sizeflag);
6272}
6273
6274static void
6275XCR_Fixup (int extrachar ATTRIBUTE_UNUSED, int sizeflag)
6276{
6277 if (modrm.mod == 3 && modrm.reg == 2 && modrm.rm <= 1)

--- 350 unchanged lines hidden ---