summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/openocd.texi4
-rw-r--r--src/server/gdb_server.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index de5f4845..66f8b128 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -1083,7 +1083,7 @@ first target will be gdb_port, the second target will listen on gdb_port + 1, an
@section GDB Items
@itemize @bullet
-@item @b{gdb_breakpoint_override} <@var{hard|soft|disabled}>
+@item @b{gdb_breakpoint_override} <@var{hard|soft|disable}>
@cindex gdb_breakpoint_override
@anchor{gdb_breakpoint_override}
@*Force breakpoint type for gdb 'break' commands.
@@ -1097,7 +1097,7 @@ the same issue.
@item @b{gdb_detach} <@var{resume|reset|halt|nothing}>
@cindex gdb_detach
-@*Configures what OpenOCD will do when gdb detaches from the daeman.
+@*Configures what OpenOCD will do when gdb detaches from the daemon.
Default behaviour is <@var{resume}>
@item @b{gdb_memory_map} <@var{enable|disable}>
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index aa213954..9ae345af 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -2387,7 +2387,7 @@ int gdb_register_commands(command_context_t *command_context)
register_command(command_context, NULL, "gdb_report_data_abort", handle_gdb_report_data_abort_command,
COMMAND_CONFIG, "enable or disable report data");
register_command(command_context, NULL, "gdb_breakpoint_override", handle_gdb_breakpoint_override_command,
- COMMAND_EXEC, "hard/soft/disabled - force breakpoint type for gdb 'break' commands."
+ COMMAND_EXEC, "hard/soft/disable - force breakpoint type for gdb 'break' commands."
"The raison d'etre for this option is to support GDB GUI's without "
"a hard/soft breakpoint concept where the default OpenOCD behaviour "
"is not sufficient");