summaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-11-30 19:14:19 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-11-30 19:14:19 -0800
commit892604bc7e6b332cf3b0bf6c2586cbd0f54ec8ef (patch)
tree0858d20954c57eca27e6c35c0f39951155fd9db0 /src/openocd.c
parentda7c202b5751c1420be6725c6eb456a2f723ba74 (diff)
downloadopenocd+libswd-892604bc7e6b332cf3b0bf6c2586cbd0f54ec8ef.tar.gz
openocd+libswd-892604bc7e6b332cf3b0bf6c2586cbd0f54ec8ef.tar.bz2
openocd+libswd-892604bc7e6b332cf3b0bf6c2586cbd0f54ec8ef.tar.xz
openocd+libswd-892604bc7e6b332cf3b0bf6c2586cbd0f54ec8ef.zip
XScale: restore_context() cleanup
Clean up two aspects to this routine: bad naming, since it doesn't restore the context, just the banked registers; and excess indentation for the bulk of the code. Also make some of its call sites stash the function's return code; someday they should use it for error checking. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/openocd.c')
0 files changed, 0 insertions, 0 deletions