]> git.sur5r.net Git - openocd/commitdiff
GDB: change gdb_breakpoint_override to COMMAND_ANY
authorSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 14 Jan 2010 00:58:07 +0000 (00:58 +0000)
committerSpencer Oliver <ntfreak@users.sourceforge.net>
Thu, 14 Jan 2010 09:35:33 +0000 (09:35 +0000)
 - enable gdb_breakpoint_override to be used within config script.

Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
src/server/gdb_server.c

index 4191cc2a7c664ac699fb353b4d3ac219d0b0e5c3..d656745405cb92005b1e51994cc25372cfe3db43 100644 (file)
@@ -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')"