diff options
author | bde <bde@FreeBSD.org> | 1997-04-01 16:22:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1997-04-01 16:22:31 +0000 |
commit | 501df7d65d52f873f2e64001312f33e0d4d105c9 (patch) | |
tree | 52e48bcbf014d26eb27b5a98c9aee218d6a48548 /sys | |
parent | 26a5337c7b45d9e0b63f90c669b7547bb3a4b1db (diff) | |
download | FreeBSD-src-501df7d65d52f873f2e64001312f33e0d4d105c9.zip FreeBSD-src-501df7d65d52f873f2e64001312f33e0d4d105c9.tar.gz |
Removed a wrong comment of mine.
Removed unused #includes.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/amd64/db_disasm.c | 12 | ||||
-rw-r--r-- | sys/i386/i386/db_disasm.c | 12 |
2 files changed, 4 insertions, 20 deletions
diff --git a/sys/amd64/amd64/db_disasm.c b/sys/amd64/amd64/db_disasm.c index cf86f8a..2599b30 100644 --- a/sys/amd64/amd64/db_disasm.c +++ b/sys/amd64/amd64/db_disasm.c @@ -23,19 +23,15 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id$ + * $Id: db_disasm.c,v 1.19 1997/02/22 09:32:12 peter Exp $ */ /* * Instruction disassembler. */ #include <sys/param.h> -#include <sys/systm.h> -#include <sys/proc.h> -#include <vm/vm.h> -#include <vm/vm_param.h> -#include <ddb/ddb.h> +#include <ddb/ddb.h> #include <ddb/db_access.h> #include <ddb/db_sym.h> @@ -1337,10 +1333,6 @@ db_disasm(loc, altfmt) case Is: len = db_lengths[size]; get_value_inc(imm, loc, len, FALSE); - /* - * XXX the + in this format doesn't seem to work right. - * `Is' is equivalent to `I'. - */ db_printf("$%+#n", imm); break; diff --git a/sys/i386/i386/db_disasm.c b/sys/i386/i386/db_disasm.c index cf86f8a..2599b30 100644 --- a/sys/i386/i386/db_disasm.c +++ b/sys/i386/i386/db_disasm.c @@ -23,19 +23,15 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id$ + * $Id: db_disasm.c,v 1.19 1997/02/22 09:32:12 peter Exp $ */ /* * Instruction disassembler. */ #include <sys/param.h> -#include <sys/systm.h> -#include <sys/proc.h> -#include <vm/vm.h> -#include <vm/vm_param.h> -#include <ddb/ddb.h> +#include <ddb/ddb.h> #include <ddb/db_access.h> #include <ddb/db_sym.h> @@ -1337,10 +1333,6 @@ db_disasm(loc, altfmt) case Is: len = db_lengths[size]; get_value_inc(imm, loc, len, FALSE); - /* - * XXX the + in this format doesn't seem to work right. - * `Is' is equivalent to `I'. - */ db_printf("$%+#n", imm); break; |