This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 39/42] Parameterize cp_scan_for_anonymous_namespaces
- From: Keith Seitz <keiths at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Fri, 6 Jul 2018 12:23:04 -0700
- Subject: Re: [RFA 39/42] Parameterize cp_scan_for_anonymous_namespaces
- References: <20180523045851.11660-1-tom@tromey.com> <20180523045851.11660-40-tom@tromey.com>
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