FreeBSD Bugzilla – Attachment 174741 Details for
Bug 212667
[PATCH] machdep.c: check DDB_ENABLED before defining SPR/db_show_table
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to check if ddb is enabled in kernel before defining debugger commands
fbsd-11-current-r305775-kpsalerno-ddbenabled.patch (text/plain), 459 bytes, created by
Kenneth Salerno
on 2016-09-13 19:18:29 UTC
(
hide
)
Description:
patch to check if ddb is enabled in kernel before defining debugger commands
Filename:
MIME Type:
Creator:
Kenneth Salerno
Created:
2016-09-13 19:18:29 UTC
Size:
459 bytes
patch
obsolete
>Index: sys/powerpc/powerpc/machdep.c >=================================================================== >--- sys/powerpc/powerpc/machdep.c (revision 305775) >+++ sys/powerpc/powerpc/machdep.c (working copy) >@@ -527,6 +527,7 @@ > */ > extern register_t get_spr(int); > >+#ifdef DDB_ENABLED > DB_SHOW_COMMAND(spr, db_show_spr) > { > register_t spr; >@@ -546,3 +547,4 @@ > db_printf("SPR %d(%x): %lx\n", saved_sprno, saved_sprno, > (unsigned long)spr); > } >+#endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 212667
: 174741