[PATCH 0/6] [PR 17684] Look up primitive types as symbols
Doug Evans
xdje42@gmail.com
Thu Dec 18 12:19:00 GMT 2014
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
More information about the Gdb-patches
mailing list