aboutsummaryrefslogtreecommitdiff
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/valprint.c
parent PR ld/13789 (diff)
downloadbinutils-gdb-19c37f244725c4c8179b9cfcc8b1bba537d7dd79.tar.gz
binutils-gdb-19c37f244725c4c8179b9cfcc8b1bba537d7dd79.tar.bz2
binutils-gdb-19c37f244725c4c8179b9cfcc8b1bba537d7dd79.zip
* valprint.c (val_print_type_code_flags): Fix placement of
trailing brace.
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r--gdb/valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c
index 325cf40edb9..b894be982a8 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,