This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [PATCH] add -foverride-comp-dir


On Sep 26, 2006, at 6:52 AM, Dan Aloni wrote:
The following patch adds a new switch to gcc that allows to override
the DW_AT_comp_dir DWARF2 attribute.

I think you should also replace:


dbxout.c: cwd = get_src_pwd ();

and

c-opts.c: pp_dir_change (parse_in, get_src_pwd ());

for completeness, or move the code up into get_src_pwd. Other than that, looks reasonable.


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