diff options
author | bde <bde@FreeBSD.org> | 1996-06-08 10:15:48 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-06-08 10:15:48 +0000 |
commit | 29f6977880e0deaaa21d3eb3f258721eca81f3b1 (patch) | |
tree | 1bb70f74006c4e38d819f1cbfc1c367d80aa2dd4 /sys/i386 | |
parent | c27d4a25c1d410d1684b845e6b902c83d998e523 (diff) | |
download | FreeBSD-src-29f6977880e0deaaa21d3eb3f258721eca81f3b1.zip FreeBSD-src-29f6977880e0deaaa21d3eb3f258721eca81f3b1.tar.gz |
Removed bogus `altfmt' code. No alternative formats are supported, but
altfmt was abused to sometimes screw up the disassembly of the bytes
following unconditional jump instructions. Gas doesn't pad to a longword
boundary like the comment said - that is the programmer's responsibility.
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/i386/db_disasm.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/i386/i386/db_disasm.c b/sys/i386/i386/db_disasm.c index ab7ae80..363ff70 100644 --- a/sys/i386/i386/db_disasm.c +++ b/sys/i386/i386/db_disasm.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_disasm.c,v 1.13 1996/01/15 22:40:17 phk Exp $ + * $Id: db_disasm.c,v 1.14 1996/03/28 20:35:03 wollman Exp $ */ /* @@ -1391,15 +1391,6 @@ db_disasm(loc, altfmt) break; } } - - if (altfmt == 0) { - if (inst == 0xe9 || inst == 0xeb) { - /* - * GAS pads to longword boundary after unconditional jumps. - */ - loc = (loc + (4-1)) & ~(4-1); - } - } db_printf("\n"); return (loc); } |