diff options
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r-- | gdb/gdbtypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 5e8d1e710ae..d7fdedfec10 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -1431,6 +1431,10 @@ extern struct type *alloc_type_copy (const struct type *); objfile's architecture is returned. */ extern struct gdbarch *get_type_arch (const struct type *); +/* This returns the target type (or NULL) of TYPE, also skipping + past typedefs. */ +extern struct type *get_target_type (struct type *type); + /* Helper function to construct objfile-owned types. */ extern struct type *init_type (enum type_code, int, int, const char *, struct objfile *); |