From 480294be7d63eb2bb0dc411a0f2bdfa69bac372f Mon Sep 17 00:00:00 2001 From: drochner Date: Sun, 24 May 1998 12:04:23 +0000 Subject: [PATCH] remove assumption about code aligment after "jmp" (is not worth the possible confusion) --- sys/arch/i386/i386/db_disasm.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/arch/i386/i386/db_disasm.c b/sys/arch/i386/i386/db_disasm.c index 0655ae57adc7..fe6dd1b3be65 100644 --- a/sys/arch/i386/i386/db_disasm.c +++ b/sys/arch/i386/i386/db_disasm.c @@ -1,4 +1,4 @@ -/* $NetBSD: db_disasm.c,v 1.12 1998/03/31 08:16:28 thorpej Exp $ */ +/* $NetBSD: db_disasm.c,v 1.13 1998/05/24 12:04:23 drochner Exp $ */ /* * Mach Operating System @@ -1316,12 +1316,6 @@ db_disasm(loc, altfmt) } } - if (altfmt == 0 && (inst == 0xe9 || inst == 0xeb)) { - /* - * GAS pads to longword boundary after unconditional jumps. - */ - loc = (loc + (4-1)) & ~(4-1); - } db_printf("\n"); return (loc); }