aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2012-03-01 15:50:16 +0000
committerTom Tromey <tromey@redhat.com>2012-03-01 15:50:16 +0000
commit19c37f244725c4c8179b9cfcc8b1bba537d7dd79 (patch)
tree475f8dea4820d207d78ba30e9cac0e318cc5b9b0 /gdb
parent1fc75697aef8602a415157289a447f1671050ad6 (diff)
downloadgdb-19c37f244725c4c8179b9cfcc8b1bba537d7dd79.zip
gdb-19c37f244725c4c8179b9cfcc8b1bba537d7dd79.tar.gz
gdb-19c37f244725c4c8179b9cfcc8b1bba537d7dd79.tar.bz2
* valprint.c (val_print_type_code_flags): Fix placement of
trailing brace.
Diffstat (limited to 'gdb')
-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,