mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
gdb
PR symtab/11199: * dwarf2read.c (quirk_gcc_member_function_pointer): Change return type and arguments. Use smash_to_methodptr_type. (read_structure_type): Call quirk_gcc_member_function_pointer later. * gdbtypes.h (smash_to_methodptr_type): Declare. * gdbtypes.c (smash_to_methodptr_type): New function. (lookup_methodptr_type): Use it. gdb/testsuite 2010-01-22 Jan Kratochvil <jan.kratochvil@redhat.com> PR symtab/11199: * gdb.dwarf2/member-ptr-forwardref.exp, gdb.dwarf2/member-ptr-forwardref.S: New.
This commit is contained in:
@@ -1312,6 +1312,8 @@ extern void smash_to_method_type (struct type *type, struct type *domain,
|
||||
extern void smash_to_memberptr_type (struct type *, struct type *,
|
||||
struct type *);
|
||||
|
||||
extern void smash_to_methodptr_type (struct type *, struct type *);
|
||||
|
||||
extern struct type *allocate_stub_method (struct type *);
|
||||
|
||||
extern char *type_name_no_tag (const struct type *);
|
||||
|
||||
Reference in New Issue
Block a user