This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/6] [PR 17684] Look up primitive types as symbols
- From: Doug Evans <xdje42 at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Thu, 18 Dec 2014 04:18:48 -0800
- Subject: [PATCH 0/6] [PR 17684] Look up primitive types as symbols
- Authentication-results: sourceware.org; auth=none
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