]> git.sur5r.net Git - openocd/commitdiff
typo spotted by spen. gdb_breakpoint_override not tested yet.
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 14 Aug 2008 13:42:56 +0000 (13:42 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 14 Aug 2008 13:42:56 +0000 (13:42 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@919 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/server/gdb_server.c

index 7be05acf34110ef4f886c0a19988eb4d9eb58de9..356483d2f66ce60c410dab764b7aac8fc1939138 100644 (file)
@@ -1281,7 +1281,7 @@ int gdb_breakpoint_watchpoint_packet(connection_t *connection, target_t *target,
        else if (type == 4) /* access watchpoint */
                wp_type = WPT_ACCESS;
        
-       if (gdb_breakpoint_override&&((bp_type==BKPT_SOFT)||(bp_type==BKPT_SOFT)))
+       if (gdb_breakpoint_override&&((bp_type==BKPT_SOFT)||(bp_type==BKPT_HARD)))
        {
                bp_type=gdb_breakpoint_override_type;
        }