aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-08-18 13:26:31 +0000
committerDaniel Jacobowitz <drow@false.org>2006-08-18 13:26:31 +0000
commit61049d3bcf3ab3c3350acbd8a185cf0995168971 (patch)
treea4bf7df4fd0f45209c9d8359e8aa79bf55cc1571 /gdb/dwarf2read.c
parent2c9771d33072dfe6abe553a2e1ba3b2883f7ca77 (diff)
downloadgdb-61049d3bcf3ab3c3350acbd8a185cf0995168971.zip
gdb-61049d3bcf3ab3c3350acbd8a185cf0995168971.tar.gz
gdb-61049d3bcf3ab3c3350acbd8a185cf0995168971.tar.bz2
* dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
number in a comment.
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index fa33d52..a56a5c2 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)