aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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--) \