aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKung Hsu <kung@cygnus>1995-03-01 00:22:46 +0000
committerKung Hsu <kung@cygnus>1995-03-01 00:22:46 +0000
commit75988f9412cb45a93b38a3c190fd324cd7737b32 (patch)
treee142bbf23ccbc732f777da7257e038badf414e2d
parent161520dc02c71146c4bcb352c7bd06ac59398e4f (diff)
downloadgdb-75988f9412cb45a93b38a3c190fd324cd7737b32.zip
gdb-75988f9412cb45a93b38a3c190fd324cd7737b32.tar.gz
gdb-75988f9412cb45a93b38a3c190fd324cd7737b32.tar.bz2
* defs.h: fix a syntax error.
-rw-r--r--gdb/ChangeLog2
-rw-r--r--gdb/defs.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 918f036..8e92e56 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,7 @@
Tue Feb 28 14:38:39 1995 Kung Hsu <kung@mexican.cygnus.com>
+ * defs.h: fix a syntax error.
+
* a29k-tdep.c (get_longjmp_target): add this function, from WRS.
* remote-vx.c: move read_register and write_register out to
target specific files.
diff --git a/gdb/defs.h b/gdb/defs.h
index 74b458f..5f09ba7 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -746,8 +746,7 @@ extern void set_endian_from_file PARAMS ((bfd *));
#else /* Target and host byte order differ. */
#define SWAP_TARGET_AND_HOST(buffer,len) \
{ \
- char __tmp_;
- \
+ char __tmp_; \
char *p = (char *)(buffer); \
char *q = ((char *)(buffer)) + len - 1; \
for (; p < q; p++, q--) \