Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167941112
D2695.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
639 B
Referenced Files
None
Subscribers
None
D2695.diff
View Options
Index: head/sys/amd64/amd64/trap.c
===================================================================
--- head/sys/amd64/amd64/trap.c
+++ head/sys/amd64/amd64/trap.c
@@ -840,14 +840,8 @@
if (frame->tf_rflags & PSL_RF)
printf("resume, ");
printf("IOPL = %ld\n", (frame->tf_rflags & PSL_IOPL) >> 12);
- printf("current process = ");
- if (curproc) {
- printf("%lu (%s)\n",
- (u_long)curproc->p_pid, curthread->td_name ?
- curthread->td_name : "");
- } else {
- printf("Idle\n");
- }
+ printf("current process = %d (%s)\n",
+ curproc->p_pid, curthread->td_name);
#ifdef KDB
if (debugger_on_panic || kdb_active)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 26, 1:10 PM (7 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37298781
Default Alt Text
D2695.diff (639 B)
Attached To
Mode
D2695: Remove unneeded NULL check in amd64's trap_fatal()
Attached
Detach File
Event Timeline
Log In to Comment