This is the mail archive of the mailing list for the GDB project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gdb-7.1] 10 days to branching...

> It may go without saying, but I think we should apply one of the
> workarounds to the 7.1 branch, once it is made.

The following diff is the workaround that sounds the simplest.
I will test it on my end, but I'm not certain of the quality of my C++
compiler (I remember getting more FAILs than I think I should). Anyone
wants to test it?  I want to apply the workaround immediately after
I created the branch so that I can create the first pre-release right

|       sym_arr[i1] = lookup_symbol_in_language (phys_name,
|                                    NULL, FUNCTIONS_DOMAIN,
|                                    language,
|                                    (int *) NULL);
| -      if (sym_arr[i1])
| +      /* See PR10966.  Remove check on symbol domain and class when
| +         we stop using (bad) linkage names on constructors.  */
| +      if (sym_arr[i1] && (SYMBOL_DOMAIN (sym_arr[i1]) == VAR_DOMAIN
| +                          && SYMBOL_CLASS (sym_arr[i1]) == LOC_BLOCK))
|         i1++;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]