summaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.h
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-10-22 20:11:56 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-10-22 20:11:56 +0000
commita095122b82efb8beab5b9bc1392e541704b469a0 (patch)
treea0344550bee9b417d1fdb0d0c243d25e561e7ca4 /gdb/gdbtypes.h
parent554045041e9571e045aad464819606187df0f1b2 (diff)
downloadgdb-a095122b82efb8beab5b9bc1392e541704b469a0.tar.gz
* gdbtypes.c (copy_type): New function.
* gdbtypes.h (copy_type): Add declaration. * ada-lang.c (ada_to_fixed_type_1): If there is a parallel XVZ variable, then use it.
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r--gdb/gdbtypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 0a48db2b5e6..2a41c5b90a6 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -1261,4 +1261,6 @@ extern struct type *copy_type_recursive (struct objfile *objfile,
struct type *type,
htab_t copied_types);
+extern struct type *copy_type (const struct type *type);
+
#endif /* GDBTYPES_H */