Re: [RFA 39/42] Parameterize cp_scan_for_anonymous_namespaces

Tom Tromey
2018-07-08T16:40:21Z

>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:

Keith> On 05/22/2018 09:58 PM, Tom Tromey wrote:
>> diff --git a/gdb/buildsym.c b/gdb/buildsym.c
>> index 3e3170f0ee..d9a0e02653 100644
>> --- a/gdb/buildsym.c
>> +++ b/gdb/buildsym.c
>> @@ -1634,3 +1634,10 @@ record_line (struct subfile *subfile, int line, CORE_ADDR pc)
>> gdb_assert (buildsym_compunit != nullptr);
buildsym_compunit-> record_line (subfile, line, pc);
>> }
>> +
>> +struct buildsym_compunit *
>> +get_buildsym_compunit ()
>> +{
>> + gdb_assert (buildsym_compunit != nullptr);
>> + return buildsym_compunit;
>> +}

Keith> Missing "See legacy-buildsym.h" comment.

Thanks, I made this change.

Tom