From 46105fd2602c580abf9624e1f87a38bd94d38026 Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Wed, 2 Apr 2014 16:46:37 +0200 Subject: [PATCH] Fix missing braces in kernel/debugger.cpp. --- kernel/debugger.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/kernel/debugger.cpp b/kernel/debugger.cpp index 26998808..7fac6781 100644 --- a/kernel/debugger.cpp +++ b/kernel/debugger.cpp @@ -561,20 +561,20 @@ struct command_registration static const struct command_registration commands[] = { - "bt", main_bt, "bt Stack trace", - "dump", main_dump, "dump START [LEN] Dump continuous memory", - "dump8", main_dump, "dump8 START [LEN] Dump 8-bit memory words", - "dump16", main_dump, "dump16 START [LEN] Dump 16-bit memory words", - "dump32", main_dump, "dump32 START [LEN] Dump 32-bit memory words", - "dump64", main_dump, "dump16 START [LEN] Dump 64-bit memory words", - "echo", main_echo, "echo [ARG...] Echo string", - "exit", main_exit, "exit Quit debugger", - "pid", main_pid, "pid [NEWPID] Change current process", - "ps", main_ps, "ps List processes", - "rs", main_rs, "rs Print registers", - "tid", main_tid, "tid [NEWTID] Change current thread", - "ts", main_ts, "ts List threads in current process", - NULL, NULL, NULL, + { "bt", main_bt, "bt Stack trace" }, + { "dump", main_dump, "dump START [LEN] Dump continuous memory" }, + { "dump8", main_dump, "dump8 START [LEN] Dump 8-bit memory words" }, + { "dump16", main_dump, "dump16 START [LEN] Dump 16-bit memory words" }, + { "dump32", main_dump, "dump32 START [LEN] Dump 32-bit memory words" }, + { "dump64", main_dump, "dump16 START [LEN] Dump 64-bit memory words" }, + { "echo", main_echo, "echo [ARG...] Echo string" }, + { "exit", main_exit, "exit Quit debugger" }, + { "pid", main_pid, "pid [NEWPID] Change current process" }, + { "ps", main_ps, "ps List processes" }, + { "rs", main_rs, "rs Print registers" }, + { "tid", main_tid, "tid [NEWTID] Change current thread" }, + { "ts", main_ts, "ts List threads in current process" }, + { NULL, NULL, NULL }, }; bool RunCommand()