public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Doug Evans <xdje42@gmail.com>
To: gdb-patches@sourceware.org
Subject: [PATCH 0/6] [PR 17684] Look up primitive types as symbols
Date: Thu, 18 Dec 2014 12:19:00 -0000	[thread overview]
Message-ID: <m3y4q5b17b.fsf@sspiff.org> (raw)

Hi.

This is a follow-on to
https://sourceware.org/ml/gdb-patches/2014-12/msg00169.html
and implements the looking up of primitive types at the
appropriate time in the symbol lookup machinery.
Namely, after the STATIC_BLOCK of the current compunit has been searched
and before anything else.

The main piece is allowing symbols to be "owned" by gdbarch,
just like types are.

The patch is in six parts:

1) new functions symbol_arch, symbol_symtab, symbol_objfile, symbol_set_symtab
2) lookup_symbol_nonlocal routines get langdef parameter
3) rename initialize_symbol -> initialize_objfile_symbol
4) new macro SYMBOL_DOMAIN_BITS
5) basic support for looking up primitive types as symbols
6) c++ support

This patch requires the cp-namespace.c cleanup patchset:
https://sourceware.org/ml/gdb-patches/2014-12/msg00364.html

             reply	other threads:[~2014-12-18 12:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-18 12:19 Doug Evans [this message]
2014-12-23 16:18 ` Doug Evans

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=m3y4q5b17b.fsf@sspiff.org \
    --to=xdje42@gmail.com \
    --cc=gdb-patches@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).