Factor handle_bp_command into pieces:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Jun 2009 11:43:07 +0000 (11:43 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Jun 2009 11:43:07 +0000 (11:43 +0000)
commit538050c146ea514b27657930e63a7f51e2a34c4c
tree82a36a58a2396de45488bc5f4d2b10dc18aa5482
parent8e899d43ef8c049200e4558c4ba2b7f052468935
Factor handle_bp_command into pieces:
- Bug fix: return a syntax error if the wrong number of arguments are given.
- Add handle_bp_command_list() and handle_bp_command_set().
- Use temporary addr variable to eliminate redundant strtoul() calls.
- Place variable declarations at their point of first use.

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