Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Add missing check for db_Grp9. This chang...
details: https://anonhg.NetBSD.org/src/rev/4046da41ab18
branches: trunk
changeset: 338140:4046da41ab18
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue May 12 05:18:50 2015 +0000
description:
Add missing check for db_Grp9. This change fixes a bug that cmpxchg8b can't
be disassembled.
diffstat:
sys/arch/i386/i386/db_disasm.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r d0f127a99904 -r 4046da41ab18 sys/arch/i386/i386/db_disasm.c
--- a/sys/arch/i386/i386/db_disasm.c Tue May 12 02:38:00 2015 +0000
+++ b/sys/arch/i386/i386/db_disasm.c Tue May 12 05:18:50 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_disasm.c,v 1.44 2014/10/23 10:01:53 msaitoh Exp $ */
+/* $NetBSD: db_disasm.c,v 1.45 2015/05/12 05:18:50 msaitoh Exp $ */
/*
* Mach Operating System
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.44 2014/10/23 10:01:53 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.45 2015/05/12 05:18:50 msaitoh Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -1212,7 +1212,8 @@
ip->i_extra == (const char *)db_Grp2 ||
ip->i_extra == (const char *)db_Grp6 ||
ip->i_extra == (const char *)db_Grp7 ||
- ip->i_extra == (const char *)db_Grp8) {
+ ip->i_extra == (const char *)db_Grp8 ||
+ ip->i_extra == (const char *)db_Grp9) {
i_name = ((const char *const*)ip->i_extra)[f_reg(regmodrm)];
} else if (ip->i_extra == (const char *)db_Grp3) {
ip = (const struct inst *)ip->i_extra;
Home |
Main Index |
Thread Index |
Old Index