aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/subr_kdb.c
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2017-11-29 12:49:22 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2017-11-29 12:49:22 +0000
commit2c9ec07528421b1c1c9b6b3cb55876c545e2eb60 (patch)
treea532130e7a698769f43771641e1947c7b964dd20 /sys/kern/subr_kdb.c
parentef23f141bc63c708b9e62af16cc686a5225075fb (diff)
downloadsrc-2c9ec07528421b1c1c9b6b3cb55876c545e2eb60.tar.gz
src-2c9ec07528421b1c1c9b6b3cb55876c545e2eb60.zip
Fix several noticed style issues.
Reviewed by: bde Approved by: bapt
Notes
Notes: svn path=/head/; revision=326364
Diffstat (limited to 'sys/kern/subr_kdb.c')
-rw-r--r--sys/kern/subr_kdb.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/kern/subr_kdb.c b/sys/kern/subr_kdb.c
index 1382af32d1d9..122477e9cc66 100644
--- a/sys/kern/subr_kdb.c
+++ b/sys/kern/subr_kdb.c
@@ -250,7 +250,6 @@ kdb_reboot(void)
* its arguments. Its up to the caller to ensure that the state variable is
* consistent.
*/
-
#define KEY_CR 13 /* CR '\r' */
#define KEY_TILDE 126 /* ~ */
#define KEY_CRTLB 2 /* ^B */
@@ -362,7 +361,6 @@ kdb_alt_break_gdb(int key, int *state)
* is selected or the current debugger does not support backtraces, this
* function silently returns.
*/
-
void
kdb_backtrace(void)
{
@@ -410,7 +408,6 @@ kdb_backtrace_thread(struct thread *td)
/*
* Set/change the current backend.
*/
-
int
kdb_dbbe_select(const char *name)
{
@@ -450,7 +447,6 @@ kdb_enter(const char *why, const char *msg)
/*
* Initialize the kernel debugger interface.
*/
-
void
kdb_init(void)
{
@@ -485,7 +481,6 @@ kdb_init(void)
/*
* Handle contexts.
*/
-
void *
kdb_jmpbuf(jmp_buf new)
{
@@ -521,9 +516,8 @@ kdb_reenter_silent(void)
}
/*
- * Thread related support functions.
+ * Thread-related support functions.
*/
-
struct pcb *
kdb_thr_ctx(struct thread *thr)
{
@@ -617,7 +611,6 @@ kdb_thr_select(struct thread *thr)
/*
* Enter the debugger due to a trap.
*/
-
int
kdb_trap(int type, int code, struct trapframe *tf)
{