Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch Neither i386 nor amd64 have had separate syscall_pl...



details:   https://anonhg.NetBSD.org/src/rev/98842f0ac35a
branches:  trunk
changeset: 780129:98842f0ac35a
user:      dsl <dsl%NetBSD.org@localhost>
date:      Thu Jul 12 17:14:39 2012 +0000

description:
Neither i386 nor amd64 have had separate syscall_plain/fancy functions
  for ages, so this code can't be correct in looking for them.
Change to compare against "syscall".
I don't know if this changes any behaviour anywhere.

diffstat:

 sys/arch/amd64/amd64/db_machdep.c |  7 +++----
 sys/arch/i386/i386/db_machdep.c   |  7 +++----
 2 files changed, 6 insertions(+), 8 deletions(-)

diffs (56 lines):

diff -r a0b8fc6c4c39 -r 98842f0ac35a sys/arch/amd64/amd64/db_machdep.c
--- a/sys/arch/amd64/amd64/db_machdep.c Thu Jul 12 16:58:50 2012 +0000
+++ b/sys/arch/amd64/amd64/db_machdep.c Thu Jul 12 17:14:39 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.c,v 1.2 2012/02/22 14:12:04 chs Exp $       */
+/*     $NetBSD: db_machdep.c,v 1.3 2012/07/12 17:14:39 dsl Exp $       */
 
 /* 
  * Mach Operating System
@@ -26,7 +26,7 @@
  * rights to redistribute these changes.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.2 2012/02/22 14:12:04 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.3 2012/07/12 17:14:39 dsl Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -210,8 +210,7 @@
                if (!strcmp(name, "trap")) {
                        *is_trap = TRAP;
                        narg = 0;
-               } else if (!strcmp(name, "syscall_plain") ||
-                          !strcmp(name, "syscall_fancy")) {
+               } else if (!strcmp(name, "syscall")) {
                        *is_trap = SYSCALL;
                        narg = 0;
                } else if (name[0] == 'X') {
diff -r a0b8fc6c4c39 -r 98842f0ac35a sys/arch/i386/i386/db_machdep.c
--- a/sys/arch/i386/i386/db_machdep.c   Thu Jul 12 16:58:50 2012 +0000
+++ b/sys/arch/i386/i386/db_machdep.c   Thu Jul 12 17:14:39 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_machdep.c,v 1.3 2011/04/14 16:05:59 yamt Exp $      */
+/*     $NetBSD: db_machdep.c,v 1.4 2012/07/12 17:14:39 dsl Exp $       */
 
 /* 
  * Mach Operating System
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.3 2011/04/14 16:05:59 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_machdep.c,v 1.4 2012/07/12 17:14:39 dsl Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -138,8 +138,7 @@
                } else if (!strcmp(name, "trap")) {
                        *is_trap = TRAP;
                        narg = 0;
-               } else if (!strcmp(name, "syscall_plain") ||
-                          !strcmp(name, "syscall_fancy")) {
+               } else if (!strcmp(name, "syscall")) {
                        *is_trap = SYSCALL;
                        narg = 0;
                } else if (name[0] == 'X') {



Home | Main Index | Thread Index | Old Index