From: Daniel Jacobowitz Date: Fri, 18 Aug 2006 13:26:31 +0000 (+0000) Subject: * dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=61049d3bcf3ab3c3350acbd8a185cf0995168971;p=binutils-gdb.git * dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR number in a comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 22c6a80ede0..226077be874 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-08-18 Daniel Jacobowitz + + * dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR + number in a comment. + 2006-08-18 Mark Kettenis * sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index fa33d52b37e..a56a5c2392b 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -3711,7 +3711,10 @@ is_vtable_name (const char *name, struct dwarf2_cu *cu) /* GCC outputs unnamed structures that are really pointers to member functions, with the ABI-specified layout. If DIE (from CU) describes 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 quirk_gcc_member_function_pointer (struct die_info *die, struct dwarf2_cu *cu)