summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-14 13:42:56 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-14 13:42:56 +0000
commite762857203f79e5e52b22a9cb1a38ce9020f9831 (patch)
treed1a94e22f860dd006c65ce517f4d58281497d457 /src/server
parenta42f85fe9a52c295b9e5a629f6701c6ac899207a (diff)
downloadopenocd_libswd-e762857203f79e5e52b22a9cb1a38ce9020f9831.tar.gz
openocd_libswd-e762857203f79e5e52b22a9cb1a38ce9020f9831.tar.bz2
openocd_libswd-e762857203f79e5e52b22a9cb1a38ce9020f9831.tar.xz
openocd_libswd-e762857203f79e5e52b22a9cb1a38ce9020f9831.zip
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
Diffstat (limited to 'src/server')
-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 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;
}