From e762857203f79e5e52b22a9cb1a38ce9020f9831 Mon Sep 17 00:00:00 2001 From: oharboe Date: Thu, 14 Aug 2008 13:42:56 +0000 Subject: typo spotted by spen. gdb_breakpoint_override not tested yet. git-svn-id: svn://svn.berlios.de/openocd/trunk@919 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/server/gdb_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 7be05acf..356483d2 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -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; } -- cgit v1.2.3