[Pdbg] [PATCH v2 05/39] gdbserver: include <port> argument in command line help text

Nicholas Piggin npiggin at gmail.com
Wed Apr 20 16:49:39 AEST 2022


Include <port> argument in command line help text.

Reviewed-by: Joel Stanley <joel at jms.id.au>
Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 3da15cc7..7d4ce7ac 100644
--- a/src/main.c
+++ b/src/main.c
@@ -118,7 +118,7 @@ static struct action actions[] = {
 	{ "threadstatus", "", "Print the status of a thread" },
 	{ "sreset",  "", "Reset" },
 	{ "regs",  "[--backtrace]", "State (optionally display backtrace)" },
-	{ "gdbserver", "", "Start a gdb server" },
+	{ "gdbserver <port>", "", "Start a gdb server listening on <port>" },
 	{ "istep", "<major> <minor>|0", "Execute istep on SBE" },
 	{ "geti2c", "<device> <reg> <n>", "Read n bytes from i2c device" },
 	{ "puti2c", "<device> <reg> <value>", "Write a value to i2c device" },
-- 
2.35.1



More information about the Pdbg mailing list