Use parse_uint in handle_reg_command to ensure reg number parses properly.
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 13 Jun 2009 00:32:54 +0000 (00:32 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 13 Jun 2009 00:32:54 +0000 (00:32 +0000)
commit45ec363c4a56ade3d0c1f62c054e4310c76ce0f5
treef95f65b0f6bc1d1a17ac23b88428be1d09ed41ec
parent234324509009067323db2084115d67369653b675
Use parse_uint in handle_reg_command to ensure reg number parses properly.

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