summaryrefslogtreecommitdiff
path: root/src/target/arm_semihosting.h
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-12-03 17:38:24 -0800
committerZachary T Welch <zw@superlucidity.net>2009-12-04 03:29:15 -0800
commitc5eb8e29bdc296c2d0b25cc771639567b5f7707f (patch)
tree49861352c57f3a331a2b4a173e6d8b679100e7ef /src/target/arm_semihosting.h
parenteae56d27c3892188560918526710d44d147b0c8d (diff)
downloadopenocd+libswd-c5eb8e29bdc296c2d0b25cc771639567b5f7707f.tar.gz
openocd+libswd-c5eb8e29bdc296c2d0b25cc771639567b5f7707f.tar.bz2
openocd+libswd-c5eb8e29bdc296c2d0b25cc771639567b5f7707f.tar.xz
openocd+libswd-c5eb8e29bdc296c2d0b25cc771639567b5f7707f.zip
check top-level command registrations
When calling module_register_commands, the return value needs to be checked for failures. Instead of duplicating code, use an array of function pointers to the identical registration functions to iterate over during startup.
Diffstat (limited to 'src/target/arm_semihosting.h')
0 files changed, 0 insertions, 0 deletions