summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/gdb_server.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index d5d7042c..96b9dbf1 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -2421,8 +2421,9 @@ static const struct command_registration gdb_command_handlers[] = {
{
.name = "gdb_port",
.handler = &handle_gdb_port_command,
- .mode = COMMAND_CONFIG,
- .help = "daemon configuration command gdb_port",
+ .mode = COMMAND_ANY,
+ .help = "daemon configuration command gdb_port. No arguments reports "
+ "GDB port.",
.usage = "<port>",
},
{