[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210203081034.9004-1-samirweng1979@163.com>
Date: Wed, 3 Feb 2021 16:10:34 +0800
From: samirweng1979 <samirweng1979@....com>
To: jason.wessel@...driver.com, daniel.thompson@...aro.org,
dianders@...omium.org
Cc: kgdb-bugreport@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
wengjianfeng <wengjianfeng@...ong.com>
Subject: [PATCH] kernel: debug: fix typo issue
From: wengjianfeng <wengjianfeng@...ong.com>
change 'regster' to 'register'.
Signed-off-by: wengjianfeng <wengjianfeng@...ong.com>
---
kernel/debug/gdbstub.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/debug/gdbstub.c b/kernel/debug/gdbstub.c
index a77df59..e149a0a 100644
--- a/kernel/debug/gdbstub.c
+++ b/kernel/debug/gdbstub.c
@@ -595,7 +595,7 @@ static char *gdb_hex_reg_helper(int regnum, char *out)
dbg_reg_def[i].size);
}
-/* Handle the 'p' individual regster get */
+/* Handle the 'p' individual register get */
static void gdb_cmd_reg_get(struct kgdb_state *ks)
{
unsigned long regnum;
@@ -610,7 +610,7 @@ static void gdb_cmd_reg_get(struct kgdb_state *ks)
gdb_hex_reg_helper(regnum, remcom_out_buffer);
}
-/* Handle the 'P' individual regster set */
+/* Handle the 'P' individual register set */
static void gdb_cmd_reg_set(struct kgdb_state *ks)
{
unsigned long regnum;
--
1.9.1
Powered by blists - more mailing lists