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

Joel Stanley joel at jms.id.au
Wed Mar 16 10:13:29 AEDT 2022


On Mon, 14 Mar 2022 at 04:18, Nicholas Piggin <npiggin at gmail.com> wrote:
>
> Include <port> argument in command line help text.
>
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>

Reviewed-by: Joel Stanley <joel at 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 at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/pdbg


More information about the Pdbg mailing list