Improve and simplify handle_bp_command and handle_rbp_command:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 13 Jun 2009 00:34:03 +0000 (00:34 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 13 Jun 2009 00:34:03 +0000 (00:34 +0000)
commitd0a300e0a07bce4039eae1852a6fc28160d63a03
treeb9f1005be8f389c43788192b970910d4a4f18098
parent16c77cf3cac6e568813bbf88af7a6e3c32f5fbc6
Improve and simplify handle_bp_command and handle_rbp_command:
- Bug fix: return syntax error if remove called without one argument.
- Use parse_u32 to ensure address and length arguments parse properly.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2235 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/target/target.c