aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/valprint.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6338c4c..3db8b8d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-01 Tom Tromey <tromey@redhat.com>
+
+ * valprint.c (val_print_type_code_flags): Fix placement of
+ trailing brace.
+
2012-03-01 Joel Brobecker <brobecker@adacore.com>
* copyright.py (MULTILINE_COMMENT_PREFIXES): Delete.
diff --git a/gdb/valprint.c b/gdb/valprint.c
index 325cf40..b894be9 100644
--- a/gdb/valprint.c
+++ b/gdb/valprint.c
@@ -545,6 +545,7 @@ val_print_type_code_flags (struct type *type, const gdb_byte *valaddr,
}
}
fputs_filtered ("]", stream);
+}
/* Print a scalar of data of type TYPE, pointed to in GDB by VALADDR,
according to OPTIONS and SIZE on STREAM. Format i is not supported
@@ -552,7 +553,6 @@ val_print_type_code_flags (struct type *type, const gdb_byte *valaddr,
This is how the elements of an array or structure are printed
with a format. */
-}
void
val_print_scalar_formatted (struct type *type,