summaryrefslogtreecommitdiff
path: root/src/target/arm_semihosting.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 16:51:48 -0800
committerDavid Brownell <dbrownell@users.sourceforge.net>2009-12-04 16:51:48 -0800
commitbdde9460b923ab61fad678bf1e3f0da04e1d94ee (patch)
tree455782ac27db2b2acbffee591159fd30558df7d2 /src/target/arm_semihosting.h
parentacd6d3399486110e69db8d5ec752e10067c29ad0 (diff)
downloadopenocd+libswd-bdde9460b923ab61fad678bf1e3f0da04e1d94ee.tar.gz
openocd+libswd-bdde9460b923ab61fad678bf1e3f0da04e1d94ee.tar.bz2
openocd+libswd-bdde9460b923ab61fad678bf1e3f0da04e1d94ee.tar.xz
openocd+libswd-bdde9460b923ab61fad678bf1e3f0da04e1d94ee.zip
ARM: remove semihosting globals
Store a flag and errno in in "struct arm". Have "poll" output report when semihosting is active. Shrink some of the affected lines. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/arm_semihosting.h')
-rw-r--r--src/target/arm_semihosting.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/target/arm_semihosting.h b/src/target/arm_semihosting.h
index 6b9ac566..80cad39f 100644
--- a/src/target/arm_semihosting.h
+++ b/src/target/arm_semihosting.h
@@ -21,8 +21,6 @@
#ifndef ARM_SEMIHOSTING_H
#define ARM_SEMIHOSTING_H
-extern int semihosting_active;
-
int arm_semihosting(struct target *target, int *retval);
#endif