summaryrefslogtreecommitdiff
path: root/src/openocd.c
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-06 14:36:37 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-08-06 14:36:37 +0000
commitce16ff901c63c65d6087af4436159a6529de3b95 (patch)
treed8589e3ec36005a5c14a89528a23c81d23719323 /src/openocd.c
parent09bb073239279be4df77a40377da66a741f43c5c (diff)
downloadopenocd+libswd-ce16ff901c63c65d6087af4436159a6529de3b95.tar.gz
openocd+libswd-ce16ff901c63c65d6087af4436159a6529de3b95.tar.bz2
openocd+libswd-ce16ff901c63c65d6087af4436159a6529de3b95.tar.xz
openocd+libswd-ce16ff901c63c65d6087af4436159a6529de3b95.zip
- 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.c2
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");
}