summaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-15 09:43:26 +0000
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-12-15 09:43:26 +0000
commit47d044934727c3d5a57658ddd324b407dd73860a (patch)
tree936d222cf6a2f84f714e3750169c31c34984ea1e /src/target/target.c
parent459d03e3bb516cfe7ea641718084885ffda070f4 (diff)
downloadopenocd+libswd-47d044934727c3d5a57658ddd324b407dd73860a.tar.gz
openocd+libswd-47d044934727c3d5a57658ddd324b407dd73860a.tar.bz2
openocd+libswd-47d044934727c3d5a57658ddd324b407dd73860a.tar.xz
openocd+libswd-47d044934727c3d5a57658ddd324b407dd73860a.zip
- add ability for openocd to communicate to gdb using pipes (stdin/stdout).
- this is enabled by new command line option option --pipe. git-svn-id: svn://svn.berlios.de/openocd/trunk@1242 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target.c')
-rw-r--r--src/target/target.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 3d0f8e27..f86d8f39 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -232,7 +232,6 @@ const Jim_Nvp nvp_target_debug_reason [] = {
{ .name = NULL, .value = -1 },
};
-
const Jim_Nvp nvp_target_endian[] = {
{ .name = "big", .value = TARGET_BIG_ENDIAN },
{ .name = "little", .value = TARGET_LITTLE_ENDIAN },
@@ -249,8 +248,7 @@ const Jim_Nvp nvp_reset_modes[] = {
{ .name = NULL , .value = -1 },
};
-static int
-max_target_number( void )
+static int max_target_number(void)
{
target_t *t;
int x;
@@ -267,8 +265,7 @@ max_target_number( void )
}
/* determine the number of the new target */
-static int
-new_target_number( void )
+static int new_target_number(void)
{
target_t *t;
int x;