aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-02-19 23:59:27 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-02-19 23:59:27 +0000
commit1db300f14bb75a66d2882033f0eea6edfe091136 (patch)
tree0f9fe4e4f441e2a0ca371be7045c2f58d32a4180 /gdb/ada-typeprint.c
parentgas/testsuite/ (diff)
downloadbinutils-gdb-1db300f14bb75a66d2882033f0eea6edfe091136.tar.gz
binutils-gdb-1db300f14bb75a66d2882033f0eea6edfe091136.tar.bz2
binutils-gdb-1db300f14bb75a66d2882033f0eea6edfe091136.zip
* ada-typeprint.c (ada_typedef_print): Remove. Unused.
Diffstat (limited to 'gdb/ada-typeprint.c')
-rw-r--r--gdb/ada-typeprint.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c
index e1ab2ac84bf..f00824ab9af 100644
--- a/gdb/ada-typeprint.c
+++ b/gdb/ada-typeprint.c
@@ -114,22 +114,6 @@ decoded_type_name (struct type *type)
}
}
-
-/* Print a description of a type in the format of a
- typedef for the current language.
- NEW is the new name for a type TYPE. */
-
-void
-ada_typedef_print (struct type *type, struct symbol *new,
- struct ui_file *stream)
-{
- /* XXX: type_sprint */
- fprintf_filtered (stream, "type %.*s is ",
- ada_name_prefix_len (SYMBOL_PRINT_NAME (new)),
- SYMBOL_PRINT_NAME (new));
- type_print (type, "", stream, 1);
-}
-
/* Print range type TYPE on STREAM. */
static void