diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-12 01:39:57 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-12 01:39:57 +0000 |
commit | 0f6a47837e64836385268bb4e99e123477775e68 (patch) | |
tree | d2a585ced51d3ed17aeb89c22f56363dc87a8b24 /src/main.c | |
parent | 5af1bdcff468ae8fdb04f1d4d666d20b5fd0b73d (diff) | |
download | openocd+libswd-0f6a47837e64836385268bb4e99e123477775e68.tar.gz openocd+libswd-0f6a47837e64836385268bb4e99e123477775e68.tar.bz2 openocd+libswd-0f6a47837e64836385268bb4e99e123477775e68.tar.xz openocd+libswd-0f6a47837e64836385268bb4e99e123477775e68.zip |
Simplify and improve handle_debug_level_comamnd:
- Bug fix: Return a syntax error if more than one argument is given.
- Bug fix: Use new parse_uint helper ensure debug_level parses correctly.
- Change: Display the debug_level after it has been set.
- Simplify bounds checking of debug_level.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2208 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions