* dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR

number in a comment.
This commit is contained in:
Daniel Jacobowitz 2006-08-18 13:26:31 +00:00
parent 2c9771d330
commit 61049d3bcf
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-08-18 Daniel Jacobowitz <dan@codesourcery.com>
* dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
number in a comment.
2006-08-18 Mark Kettenis <kettenis@gnu.org> 2006-08-18 Mark Kettenis <kettenis@gnu.org>
* sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment. * sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment.

View file

@ -3711,7 +3711,10 @@ is_vtable_name (const char *name, struct dwarf2_cu *cu)
/* GCC outputs unnamed structures that are really pointers to member /* GCC outputs unnamed structures that are really pointers to member
functions, with the ABI-specified layout. If DIE (from CU) describes functions, with the ABI-specified layout. If DIE (from CU) describes
such a structure, set its type, and return nonzero. Otherwise return such a structure, set its type, and return nonzero. Otherwise return
zero. */ zero.
GCC shouldn't do this; it should just output pointer to member DIEs.
This is GCC PR debug/28767. */
static int static int
quirk_gcc_member_function_pointer (struct die_info *die, struct dwarf2_cu *cu) quirk_gcc_member_function_pointer (struct die_info *die, struct dwarf2_cu *cu)