This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 0/6] [PR 17684] Look up primitive types as symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]