diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-05 06:18:26 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-05 06:18:26 +0000 |
commit | 3a4896182036eb472a06f66be3710d5c228b6748 (patch) | |
tree | aa1207bc7952af699ead708f5f669fed53a20a47 /src/target/arm11.c | |
parent | e4729b3b7a5cfa30c19da4be7babfc074616fac6 (diff) | |
download | riscv-openocd-3a4896182036eb472a06f66be3710d5c228b6748.zip riscv-openocd-3a4896182036eb472a06f66be3710d5c228b6748.tar.gz riscv-openocd-3a4896182036eb472a06f66be3710d5c228b6748.tar.bz2 |
moves handling of problems with resetting into the halted state
into the target implementation.
Also target_process_reset() is now simpler and has error handling,
e.g. if assert reset fails, then target_process_reset() will propagate
that error.
cmd_ctx was passed in to examine(), which is wrong - removed that.
git-svn-id: svn://svn.berlios.de/openocd/trunk@887 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/arm11.c')
-rw-r--r-- | src/target/arm11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm11.c b/src/target/arm11.c index da779b0..11f6d9c 100644 --- a/src/target/arm11.c +++ b/src/target/arm11.c @@ -1378,7 +1378,7 @@ int arm11_init_target(struct command_context_s *cmd_ctx, struct target_s *target } /* talk to the target and set things up */ -int arm11_examine(struct command_context_s *cmd_ctx, struct target_s *target) +int arm11_examine(struct target_s *target) { FNC_INFO; |