gdb
authorTom Tromey <tromey@redhat.com>
Fri, 22 Jan 2010 17:06:49 +0000 (17:06 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 22 Jan 2010 17:06:49 +0000 (17:06 +0000)
commit0b92b5bb46877299511949f5a437883ddb7dd60e
tree3bb64ee1fd4918b2274cb7c725749f23452f8786
parent911e63d0e72aaf928548703237fe9ac1dcbb4c45
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.
gdb/ChangeLog
gdb/dwarf2read.c
gdb/gdbtypes.c
gdb/gdbtypes.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/member-ptr-forwardref.exp [new file with mode: 0644]