aboutsummaryrefslogtreecommitdiff
path: root/gdb/valprint.c
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
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/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 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,