aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorYauheni Kaliuta <y.kaliuta@gmail.com>2009-10-13 20:00:46 +0300
committerØyvind Harboe <oyvind.harboe@zylin.com>2009-10-13 19:16:57 +0200
commit6a2fd7cad507ef24a7dc4ce3c5f8b5351dd12656 (patch)
tree2b0cff45b7feff53d835ed4e59ecf0750fb60e4d /contrib
parentbc0cc62afd7e84432727f470f74d4fb2b405ce35 (diff)
downloadriscv-openocd-6a2fd7cad507ef24a7dc4ce3c5f8b5351dd12656.zip
riscv-openocd-6a2fd7cad507ef24a7dc4ce3c5f8b5351dd12656.tar.gz
riscv-openocd-6a2fd7cad507ef24a7dc4ce3c5f8b5351dd12656.tar.bz2
Cleanup: nuke trailling whitespaces
Signed-off-by: Yauheni Kaliuta <y.kaliuta@gmail.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/libdcc/dcc_stdio.c4
-rw-r--r--contrib/libdcc/example.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/contrib/libdcc/dcc_stdio.c b/contrib/libdcc/dcc_stdio.c
index a25e7dd..08a49ab 100644
--- a/contrib/libdcc/dcc_stdio.c
+++ b/contrib/libdcc/dcc_stdio.c
@@ -99,7 +99,7 @@ void dbg_write_u16(const unsigned short *val, long len)
while (len > 0)
{
- dcc_data = val[0]
+ dcc_data = val[0]
| ((len > 1) ? val[1] << 16: 0x0000);
dbg_write(dcc_data);
@@ -145,7 +145,7 @@ void dbg_write_str(const char *msg)
| ((len > 2) ? msg[2] << 16 : 0x00)
| ((len > 3) ? msg[3] << 24 : 0x00);
dbg_write(dcc_data);
-
+
msg += 4;
len -= 4;
}
diff --git a/contrib/libdcc/example.c b/contrib/libdcc/example.c
index d456f39..0814c9c 100644
--- a/contrib/libdcc/example.c
+++ b/contrib/libdcc/example.c
@@ -23,11 +23,11 @@
#include "dcc_stdio.h"
/* enable openocd debugmsg at the gdb prompt:
- * monitor target_request debugmsgs enable
- *
+ * monitor target_request debugmsgs enable
+ *
* create a trace point:
* monitor trace point 1
- *
+ *
* to show how often the trace point was hit:
* monitor trace point
*/