diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-06 14:36:37 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-08-06 14:36:37 +0000 |
commit | ce16ff901c63c65d6087af4436159a6529de3b95 (patch) | |
tree | d8589e3ec36005a5c14a89528a23c81d23719323 /src/openocd.c | |
parent | 09bb073239279be4df77a40377da66a741f43c5c (diff) |
- fix target_examine declaration
- remove build warnings
- added --enable-gccwarnings to docs
- update mips_m4k_examine function
git-svn-id: svn://svn.berlios.de/openocd/trunk@893 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/openocd.c')
-rw-r--r-- | src/openocd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openocd.c b/src/openocd.c index 67d890ec..9abe3b35 100644 --- a/src/openocd.c +++ b/src/openocd.c @@ -118,7 +118,7 @@ int handle_init_command(struct command_context_s *cmd_ctx, char *cmd, char **arg if (jtag_init(cmd_ctx) == ERROR_OK) { LOG_DEBUG("jtag init complete"); - if (target_examine(cmd_ctx) == ERROR_OK) + if (target_examine() == ERROR_OK) { LOG_DEBUG("jtag examine complete"); } |