2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
* Makefile.in: Regenerate.
* configure.ac (--with-debug-prefix-map): New.
* configure: Regenerate.
config:
2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* mt-gnu (CXXFLAGS_FOR_TARGET): Add
$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
gcc:
2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
* common.opt (-fdebug-prefix-map=): New option.
* opts.c: Include debug.h.
(common_handle_option): Handle -fdebug-prefix-map.
* final.c: Include ggc.h.
(struct debug_prefix_map, debug_prefix_maps, add_debug_prefix_map,
remap_debug_filename): New.
* Makefile.in (final.o, opts.o): Update dependencies.
* debug.h (remap_debug_filename, add_debug_prefix_map): Declare.
* configure.ac: Check for assembler --debug-prefix-map support.
* configure, config.in: Regenerate.
* gcc.c (ASM_MAP): Define conditional on HAVE_AS_DEBUG_PREFIX_MAP.
(ASM_DEBUG_SPEC): Include ASM_MAP.
* doc/install.texi (--with-debug-prefix-map): Document.
* doc/invoke.texi (-fdebug-prefix-map): Document.
* dbxout.c (dbxout_init, dbxout_start_source_file,
dbxout_source_file): Call remap_debug_filename.
* dwarf2out.c (add_comp_dir_attribute, maybe_emit_file,
dwarf2out_start_source_file, dwarf2out_finish): Call
remap_debug_filename.
(file_table_relative_p): Do not check d->emitted_number.
* toplev.c (output_file_directive): Call remap_debug_filename.
* vmsdbgout.c (write_srccorr): Call remap_debug_filename.
* xcoffout.c (xcoffout_source_file): Call remap_debug_filename.
Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r127613
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| ChangeLog | Loading commit data... | |
| acinclude.m4 | Loading commit data... | |
| acx.m4 | Loading commit data... | |
| codeset.m4 | Loading commit data... | |
| confsubdir.m4 | Loading commit data... | |
| depstand.m4 | Loading commit data... | |
| enable.m4 | Loading commit data... | |
| gettext-sister.m4 | Loading commit data... | |
| gettext.m4 | Loading commit data... | |
| glibc21.m4 | Loading commit data... | |
| gxx-include-dir.m4 | Loading commit data... | |
| iconv.m4 | Loading commit data... | |
| intdiv0.m4 | Loading commit data... | |
| inttypes-pri.m4 | Loading commit data... | |
| inttypes.m4 | Loading commit data... | |
| inttypes_h.m4 | Loading commit data... | |
| lcmessage.m4 | Loading commit data... | |
| ld-symbolic.m4 | Loading commit data... | |
| lead-dot.m4 | Loading commit data... | |
| lib-ld.m4 | Loading commit data... | |
| lib-link.m4 | Loading commit data... | |
| lib-prefix.m4 | Loading commit data... | |
| mh-armpic | Loading commit data... | |
| mh-cxux | Loading commit data... | |
| mh-cygwin | Loading commit data... | |
| mh-decstation | Loading commit data... | |
| mh-dgux386 | Loading commit data... | |
| mh-djgpp | Loading commit data... | |
| mh-elfalphapic | Loading commit data... | |
| mh-i370pic | Loading commit data... | |
| mh-ia64pic | Loading commit data... | |
| mh-interix | Loading commit data... | |
| mh-lynxrs6k | Loading commit data... | |
| mh-m68kpic | Loading commit data... | |
| mh-ncr3000 | Loading commit data... | |
| mh-necv4 | Loading commit data... | |
| mh-papic | Loading commit data... | |
| mh-ppc-aix | Loading commit data... | |
| mh-ppc-darwin | Loading commit data... | |
| mh-ppcpic | Loading commit data... | |
| mh-s390pic | Loading commit data... | |
| mh-sco | Loading commit data... | |
| mh-solaris | Loading commit data... | |
| mh-sparcpic | Loading commit data... | |
| mh-sysv4 | Loading commit data... | |
| mh-sysv5 | Loading commit data... | |
| mh-x86omitfp | Loading commit data... | |
| mh-x86pic | Loading commit data... | |
| mt-alphaieee | Loading commit data... | |
| mt-d30v | Loading commit data... | |
| mt-gnu | Loading commit data... | |
| mt-mep | Loading commit data... | |
| mt-netware | Loading commit data... | |
| mt-ospace | Loading commit data... | |
| mt-sde | Loading commit data... | |
| mt-spu | Loading commit data... | |
| mt-v810 | Loading commit data... | |
| mt-wince | Loading commit data... | |
| multi.m4 | Loading commit data... | |
| nls.m4 | Loading commit data... | |
| no-executables.m4 | Loading commit data... | |
| po.m4 | Loading commit data... | |
| progtest.m4 | Loading commit data... | |
| stdint.m4 | Loading commit data... | |
| stdint_h.m4 | Loading commit data... | |
| tls.m4 | Loading commit data... | |
| uintmax_t.m4 | Loading commit data... | |
| ulonglong.m4 | Loading commit data... | |
| unwind_ipinfo.m4 | Loading commit data... | |
| warnings.m4 | Loading commit data... |