Re: [RFA 39/42] Parameterize cp_scan_for_anonymous_namespaces

Keith Seitz
2018-07-06T19:23:09Z

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;
> +}

Missing "See legacy-buildsym.h" comment.

[IANAM]

Keith