This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] Symbol Separation - Debugging
- From: Neil Booth <neil at daikokuya dot co dot uk>
- To: Devang Patel <dpatel at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 1 Jul 2003 23:31:28 +0100
- Subject: Re: [RFC] Symbol Separation - Debugging
- References: <DC270CED-AC0E-11D7-AA9E-000393A91CAA@apple.com>
Devang Patel wrote:-
> * cppfiles.c (struct include_file): New member suppress_dbg.
> (context_ident): New.
> (cinfo_file): New.
> (stabs_checksum): New.
> (c_valid_cinfo): New.
> (stack_include_file): Clear write_symbols, if required.
> (find_include_cinfo): New.
> (find_include_file): Search valid cinfo.
> (_cpp_read_file): Same.
> (c_valid_cinfo): New function.
> (suppress_dbg_info): Same.
> (cpp_symbol_separation_init): Same.
> (cpp_write_symbol_deps): Same.
> (cpp_read_stabs_checksum): Same.
> (cpp_get_stabs_checksum): Same.
cpplib doesn't have static variables; I'm sure we've been through this
before.
Before cppfiles.c is further obfuscated, it would be nice if
1) PCH worked reliably, and
2) Geoff posted his patch that's "so good you can't argue", or we
do what I suggested about #import.
Neil.