diff mbox series

[02/14] gdbserver: include <port> argument in command line help text

Message ID 20220314041735.542867-3-npiggin@gmail.com
State New
Headers show
Series gdbserver fixes and POWER10 support | expand

Commit Message

Nicholas Piggin March 14, 2022, 4:17 a.m. UTC
Include <port> argument in command line help text.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joel Stanley March 15, 2022, 11:13 p.m. UTC | #1
On Mon, 14 Mar 2022 at 04:18, Nicholas Piggin <npiggin@gmail.com> wrote:
>
> Include <port> argument in command line help text.
>
> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>

Reviewed-by: Joel Stanley <joel@jms.id.au>


> ---
>  src/main.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/main.c b/src/main.c
> index 3da15cc..7d4ce7a 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.23.0
>
> --
> Pdbg mailing list
> Pdbg@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/pdbg
diff mbox series

Patch

diff --git a/src/main.c b/src/main.c
index 3da15cc..7d4ce7a 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" },