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
This commit is contained in:
oharboe 2008-08-14 13:42:56 +00:00
parent a42f85fe9a
commit e762857203
1 changed files with 1 additions and 1 deletions

View File

@ -1281,7 +1281,7 @@ int gdb_breakpoint_watchpoint_packet(connection_t *connection, target_t *target,
else if (type == 4) /* access watchpoint */ else if (type == 4) /* access watchpoint */
wp_type = WPT_ACCESS; 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; bp_type=gdb_breakpoint_override_type;
} }