This is the mail archive of the gdb-patches@sourceware.org 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: [RFA 39/42] Parameterize cp_scan_for_anonymous_namespaces


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


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