From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Tom Tromey <tromey@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [5/10] add notion of included symtabs
Date: Wed, 25 Apr 2012 21:49:00 -0000 [thread overview]
Message-ID: <20120425214701.GA25084@host2.jankratochvil.net> (raw)
In-Reply-To: <878vhjbqrq.fsf@fleche.redhat.com>
On Wed, 25 Apr 2012 20:38:49 +0200, Tom Tromey wrote:
> --- a/gdb/block.h
> +++ b/gdb/block.h
[...]
> + /* If we're iterating over a single block, this is always -1.
> + Otherwise, it holds the index of the current "included" symtab in
> + the canonical symtab, with -1 meaning the canonical symtab
the canonical symtab (therefore symtab->includes[idx])
> + itself. */
> +
> + int idx;
[...]
> --- a/gdb/symtab.h
> +++ b/gdb/symtab.h
> @@ -832,6 +832,23 @@ struct symtab
> /* struct call_site entries for this compilation unit or NULL. */
>
> htab_t call_site_htab;
> +
> + /* If non-NULL, then this points to a NULL-terminated vector of
> + included symbol tables. When searching the static or global
> + block of this symbol table, the corresponding block of all
> + included symbol tables will also be searched. Note that this
> + list must be flattened -- the symbol reader is responsible for
> + ensuring that this vector contains the transitive closure of all
> + included symbol tables. */
> +
> + struct symtab **includes;
[...]
Thanks,
Jan
next prev parent reply other threads:[~2012-04-25 21:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-25 18:54 Tom Tromey
2012-04-25 21:49 ` Jan Kratochvil [this message]
2012-05-10 20:04 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120425214701.GA25084@host2.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb-patches@sourceware.org \
--cc=tromey@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox