summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-04-26 19:12:03 +0000
committerpeter <peter@FreeBSD.org>1997-04-26 19:12:03 +0000
commite1c760e0f93186b16a4b8695baf8ee5c51f9849b (patch)
treee181d2972974497a3b51a78a1c576e5c6b29c179 /sys
parent7704de811acb8348cb4712f0e0c2c76c0e53ae96 (diff)
downloadFreeBSD-src-e1c760e0f93186b16a4b8695baf8ee5c51f9849b.zip
FreeBSD-src-e1c760e0f93186b16a4b8695baf8ee5c51f9849b.tar.gz
Remove the curproc printing on trap/interrupt/etc. It's outlived it's
usefulness, and there were problems with it anyway. Found by: bde
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/db_trace.c8
-rw-r--r--sys/i386/i386/db_trace.c8
2 files changed, 2 insertions, 14 deletions
diff --git a/sys/amd64/amd64/db_trace.c b/sys/amd64/amd64/db_trace.c
index f8a934c..d8d6962 100644
--- a/sys/amd64/amd64/db_trace.c
+++ b/sys/amd64/amd64/db_trace.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_trace.c,v 1.20 1997/03/01 05:44:09 ache Exp $
+ * $Id: db_trace.c,v 1.21 1997/04/26 11:45:04 peter Exp $
*/
#include <sys/param.h>
@@ -199,8 +199,6 @@ db_nextframe(fp, ip)
db_printf(
"--- trap %#n, eip = %#n, esp = %#n, ebp = %#n ---\n",
tf->tf_trapno, eip, esp, ebp);
- db_printf("--- curproc = 0x%x, pid = %d ---\n",
- curproc, curproc ? curproc->p_pid : 0);
}
break;
case SYSCALL:
@@ -210,8 +208,6 @@ db_nextframe(fp, ip)
db_printf(
"--- syscall %#n, eip = %#n, esp = %#n, ebp = %#n ---\n",
tf->tf_eax, eip, esp, ebp);
- db_printf("--- curproc = 0x%x, pid = %d ---\n",
- curproc, curproc ? curproc->p_pid : 0);
}
break;
case INTERRUPT:
@@ -222,8 +218,6 @@ db_nextframe(fp, ip)
db_printf(
"--- interrupt, eip = %#n, esp = %#n, ebp = %#n ---\n",
eip, esp, ebp);
- db_printf("--- curproc = 0x%x, pid = %d ---\n",
- curproc, curproc ? curproc->p_pid : 0);
}
break;
default:
diff --git a/sys/i386/i386/db_trace.c b/sys/i386/i386/db_trace.c
index f8a934c..d8d6962 100644
--- a/sys/i386/i386/db_trace.c
+++ b/sys/i386/i386/db_trace.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_trace.c,v 1.20 1997/03/01 05:44:09 ache Exp $
+ * $Id: db_trace.c,v 1.21 1997/04/26 11:45:04 peter Exp $
*/
#include <sys/param.h>
@@ -199,8 +199,6 @@ db_nextframe(fp, ip)
db_printf(
"--- trap %#n, eip = %#n, esp = %#n, ebp = %#n ---\n",
tf->tf_trapno, eip, esp, ebp);
- db_printf("--- curproc = 0x%x, pid = %d ---\n",
- curproc, curproc ? curproc->p_pid : 0);
}
break;
case SYSCALL:
@@ -210,8 +208,6 @@ db_nextframe(fp, ip)
db_printf(
"--- syscall %#n, eip = %#n, esp = %#n, ebp = %#n ---\n",
tf->tf_eax, eip, esp, ebp);
- db_printf("--- curproc = 0x%x, pid = %d ---\n",
- curproc, curproc ? curproc->p_pid : 0);
}
break;
case INTERRUPT:
@@ -222,8 +218,6 @@ db_nextframe(fp, ip)
db_printf(
"--- interrupt, eip = %#n, esp = %#n, ebp = %#n ---\n",
eip, esp, ebp);
- db_printf("--- curproc = 0x%x, pid = %d ---\n",
- curproc, curproc ? curproc->p_pid : 0);
}
break;
default:
OpenPOWER on IntegriCloud