summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-01-14 00:58:07 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-01-14 09:35:33 +0000
commite2d3266ff1e10068d03e9a8ba3fc6c2238ff2251 (patch)
tree39e9bf7bf06f48e158ed78f00f0aed0127707ff0
parentb60dd35e33b622216c12d5804f949df087eb59fa (diff)
downloadopenocd+libswd-e2d3266ff1e10068d03e9a8ba3fc6c2238ff2251.tar.gz
openocd+libswd-e2d3266ff1e10068d03e9a8ba3fc6c2238ff2251.tar.bz2
openocd+libswd-e2d3266ff1e10068d03e9a8ba3fc6c2238ff2251.tar.xz
openocd+libswd-e2d3266ff1e10068d03e9a8ba3fc6c2238ff2251.zip
GDB: change gdb_breakpoint_override to COMMAND_ANY
- enable gdb_breakpoint_override to be used within config script. Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
-rw-r--r--src/server/gdb_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c
index 4191cc2a..d6567454 100644
--- a/src/server/gdb_server.c
+++ b/src/server/gdb_server.c
@@ -2476,7 +2476,7 @@ static const struct command_registration gdb_command_handlers[] = {
{
.name = "gdb_breakpoint_override",
.handler = handle_gdb_breakpoint_override_command,
- .mode = COMMAND_EXEC,
+ .mode = COMMAND_ANY,
.help = "Display or specify type of breakpoint "
"to be used by gdb 'break' commands.",
.usage = "('hard'|'soft'|'disable')"