Re: [RFA 39/42] Parameterize cp_scan_for_anonymous_namespaces

Simon Marchi
2018-07-10T04:25:05Z

On 2018-07-08 12:40 PM, Tom Tromey wrote:
>>>>>> "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
>

LGTM with this.

Simon