summaryrefslogtreecommitdiff
path: root/gcc/vmsdbgout.c
Commit message (Collapse)AuthorAgeFilesLines
* ifcvt.c: Fix comment typos.Kazu Hirata2003-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | * ifcvt.c: Fix comment typos. * lcm.c: Likewise. * libgcc2.c: Likewise. * local-alloc.c: Likewise. * loop.c: Likewise. * predict.c: Likewise. * ra-build.c: Likewise. * ra.c: Likewise. * ra-colorize.c: Likewise. * ra.h: Likewise. * ra-rewrite.c: Likewise. * regmove.c: Likewise. * reload.h: Likewise. * rtlanal.c: Likewise. * toplev.c: Likewise. * tree.h: Likewise. * unwind-dw2-fde-glibc.c: Likewise. * vmsdbgout.c: Likewise. From-SVN: r61421
* Merge basic-improvements-branch to trunkZack Weinberg2002-12-161-5/+8
| | | | From-SVN: r60174
* c-decl.c: Fix a comment typo.Kazu Hirata2002-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-decl.c: Fix a comment typo. * cfg.c: Likewise. * cfgcleanup.c: Likewise. * cfglayout.c: Likewise. * cfgrtl.c: Likewise. * c-typeck.c: Likewise. * dominance.c: Likewise. * dwarf2asm.c: Likewise. * dwarfout.c: Likewise. * expmed.c: Likewise. * expr.c: Likewise. * final.c: Likewise. * flow.c: Likewise. * function.c: Likewise. * gcc.c: Likewise. * genautomata.c: Likewise. * integrate.c: Likewise. * loop.c: Likewise. * loop.h: Likewise. * output.h: Likewise. * profile.c: Likewise. * ra.h: Likewise. * reload1.c: Likewise. * reload.c: Likewise. * sched-rgn.c: Likewise. * stmt.c: Likewise. * tree.h: Likewise. * vmsdbgout.c: Likewise. From-SVN: r60085
* LANGUAGES: Follow spelling conventions.Kazu Hirata2002-09-271-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * LANGUAGES: Follow spelling conventions. * rtl.def: Likewise. * sbitmap.c: Likewise. * sched-int.h: Likewise. * sched-rgn.c: Likewise. * sibcall.c: Likewise. * simplify-rtx.c: Likewise. * ssa.c: Likewise. * stab.def: Likewise. * stmt.c: Likewise. * stor-layout.c: Likewise. * target.h: Likewise. * timevar.c: Likewise. * toplev.c: Likewise. * tree-dump.c: Likewise. * tree-inline.c: Likewise. * tree.c: Likewise. * tree.def: Likewise. * tree.h: Likewise. * unroll.c: Likewise. * varasm.c: Likewise. * vmsdbgout.c: Likewise. * treelang/treelang.texi: Likewise. * treelang/treetree.c: Likewise. From-SVN: r57587
* dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue.Douglas B Rupp2002-08-151-53/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dbxout.c (dbx_debug_hooks): Update end_prologue, end_epilogue. (xcoff_debug_hooks): Update end_prologue. * debug.c (do_nothing_debug_hooks): Update end_prologue, end_epilogue. * debug.h (end_prologue): Add file arg. (end_epilogue): Add line and file args. (dwarf2out_end_epilogue): Add line and file args. (vmsdbgout_after_prologue): Remove. * dwarf2out.c (dwarf2out_end_epilogue): Add line and file args. (dwarf2_debug_hooks): Update end_prologue. * dwarfout.c (dwarfout_end_epilogue): Add line and file args. (dwarfout_end_prologue): Add file arg. * final.c (vmsdbgout_after_prologue): Remove (final_end_function): Update end_epilogue call. (final_scan_insn): Update end_prologue call. * sdbout.c (sdbout_end_epilogue): Add line and file args. (sdbout_end_prologue): Add file arg. (sdb_debug_hooks): Update end_prologue. (sdb_begin_prologue): Update sdbout_end_prologue call. * vmsdbgout.c (vmsdbg_debug_hooks): Add vmsdbgout_end_prologue, vmsdbgout_end_function. (vmsdbgout_end_prologue): New function renamed from vmsdbgout_after_prologue. Call vmsdbgout_source_line. (vmsdbgout_end_function): New function. (vmsdbgout_end_epilogue): Add line and file args. Call vmsdbgout_source_line. (write_pclines): Write only valid line numbers. (write_srccorr): Don't write source correlation records if 0 lines. * xcoffout.c (xcoffout_end_epilogue): Add line and file args. From-SVN: r56356
* adadecode.c (ada_demangle): Use xstrdup in lieu of xmalloc/strcpy.Kaveh R. Ghazi2002-07-301-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | ada: * adadecode.c (ada_demangle): Use xstrdup in lieu of xmalloc/strcpy. * misc.c (gnat_decode_option): Likewise. gcc: * alpha/vms-cc.c (preprocess_args, main): Use xstrdup and/or concat in lieu of xmalloc/strcpy/memcpy/sprintf. * alpha/vms-ld.c (main): Likewise. * dsp16xx.c (double_reg_to_memory): Likewise. * mcore.c (mcore_expand_prolog): Likewise. * cppfiles.c (read_name_map): Likewise. * gensupport.c (process_rtx, identify_predicable_attribute, alter_test_for_insn): Likewise. * vmsdbgout.c (write_rtnbeg, vmsdbgout_init): Likewise. f: * com.c (read_name_map): Use concat in lieu of xmalloc/strcpy. From-SVN: r55861
* Makefile.in (vmsdbgout.o): Depend on function.h.Kaveh R. Ghazi2002-07-281-0/+1
| | | | | | | | * Makefile.in (vmsdbgout.o): Depend on function.h. * vmsdbgout.c: Include function.h. From-SVN: r55815
* * vmsdbgout.c (SECTION_ASM_OP): Remove.Neil Booth2002-07-231-5/+0
| | | | From-SVN: r55667
* function.h (struct function): Rename profile_label_no.Richard Henderson2002-06-171-11/+3
| | | | | | | | | | | | | | | | | | | * function.h (struct function) [funcdef_no]: Rename profile_label_no. (current_function_funcdef_no): Similarly. * function.c (funcdef_no): Similarly. (prepare_function_start): Set current_function_funcdef_no. (expand_function_start): Don't set current_function_profile_label_no. * dwarf2out.h (current_funcdef_number): Remove. * dwarf2out.c (current_funcdef_number): Remove. Replace with current_function_funcdef_no throughout. * dwarfout.c, vmsdbgout.c: Similarly. * except.c (sjlj_funcdef_number): Remove. (sjlj_emit_function_enter): Use current_function_funcdef_no instead. (output_function_exception_table): Likewise. * final.c (profile_function): Use current_function_funcdef_no instead of current_function_profile_label_no. From-SVN: r54709
* target.h: Fix formatting.Kazu Hirata2002-05-311-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | * target.h: Fix formatting. * timevar.h: Likewise. * tlink.c: Likewise. * toplev.c: Likewise. * toplev.h: Likewise. * tree.c: Likewise. * tree-dump.h: Likewise. * tree.h: Likewise. * tree-inline.h: Likewise. * unroll.c: Likewise. * unwind-dw2.c: Likewise. * unwind-dw2-fde.c: Likewise. * unwind-dw2-fde-glibc.c: Likewise. * unwind-dw2-fde.h: Likewise. * unwind.h: Likewise. * unwind-sjlj.c: Likewise. * varasm.c: Likewise. * varray.h: Likewise. * vmsdbg.h: Likewise. * vmsdbgout.c: Likewise. * xcoffout.h: Likewise. From-SVN: r54123
* Makefile.in (debug.o): Depend on debug.h.Kaveh R. Ghazi2002-03-121-1/+1
| | | | | | | | | | | | | | | | | | * Makefile.in (debug.o): Depend on debug.h. * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Const-ify. * debug.c (do_nothing_debug_hooks): Likewise. * debug.h (debug_hooks, do_nothing_debug_hooks, dbx_debug_hooks, sdb_debug_hooks, xcoff_debug_hooks, dwarf_debug_hooks, dwarf2_debug_hooks, vmsdbg_debug_hooks): Likewise. * dwarf2out.c (dwarf2_debug_hooks): Likewise. * dwarfout.c (dwarf_debug_hooks): Likewise. * integrate.c (output_inline_function): Likewise. * objc/objc-act.c (synth_module_prologue): Likewise. * sdbout.c (sdb_debug_hooks): Likewise. * toplev.c (debug_hooks): Likewise. * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. From-SVN: r50635
* * vmsdbgout.c (lookup_filename): Adjust creation date for GMT.Douglas B Rupp2002-03-111-3/+14
| | | | From-SVN: r50582
* toplev.c (debug_args): Add entry for VMS_DEBUG.Douglas B Rupp2002-03-111-1/+1
| | | | | | | * toplev.c (debug_args): Add entry for VMS_DEBUG. * vmsdbgout.c (vmsdbgout_init): Fix typo in call to xmalloc. From-SVN: r50573
* 1750a.h, [...] (CHAR_TYPE_SIZE): Delete.Kaveh R. Ghazi2002-03-031-3/+0
| | | | | | | | * 1750a.h, avr.h, convex.h, d30v.h, dsp16xx.h, fr30.h, ia64.h, m68hc11.h, m88k.h, mips.h, pdp11.h, rs6000.h, sparc.c, stormy16.h, xtensa.h, vmsdbgout.c (CHAR_TYPE_SIZE): Delete. From-SVN: r50256
* bitmap.h: Fix comment formatting.Kazu Hirata2002-01-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | * bitmap.h: Fix comment formatting. * combine.c: Likewise. * cppfiles.c: Likewise. * c-pragma.h: Likewise. * c-typeck.c: Likewise. * df.c: Likewise. * dwarf2out.c: Likewise. * function.c: Likewise. * gcc.c: Likewise. * genattrtab.c: Likewise. * gthr-win32.h: Likewise. * haifa-sched.c: Likewise. * predict.c: Likewise. * rtlanal.c: Likewise. * rtl.h: Likewise. * unwind-dw2-fde.h: Likewise. * unwind-pe.h: Likewise. * vmsdbgout.c: Likewise. From-SVN: r48987
* varasm.c: Fix formatting.Kazu Hirata2002-01-101-48/+62
| | | | | | | | | * varasm.c: Fix formatting. * varray.c: Likewise. * vmsdbgout.c: Likewise. * xcoffout.c: Likewise. From-SVN: r48735
* except.c: Fix comment formatting.Kazu Hirata2001-12-281-17/+17
| | | | | | | | | | | | | * except.c: Fix comment formatting. * flags.h: Likewise. * flow.c: Likewise. * predict.c: Likewise. * simplify-rtx.c: Likewise. * system.h: Likewise. * vmsdbg.h: Likewise. * vmsdbgout.c: Likewise. From-SVN: r48349
* * vmsdbgout.c (lookup_filename): Remove warning.Richard Kenner2001-12-101-1/+1
| | | | From-SVN: r47841
* vmsdbgout.c (lookup_filename): Assign null string instead of null pointer to ↵Douglas B Rupp2001-12-091-1/+1
| | | | | | | | | fnam. * vmsdbgout.c (lookup_filename): Assign null string instead of null pointer to fnam. From-SVN: r47823
* vmsdbg.h: Delete spurious close-comment.Kaveh R. Ghazi2001-12-091-0/+1
| | | | | | | | * vmsdbg.h: Delete spurious close-comment. (DST_HEADER): Fix typo in ENUM_BITFIELD parameter. * vmsdbgout.c (write_modbeg): Define return type. From-SVN: r47811
* vmsdbg.h, [...]: Add documentation and minor cleanups.Richard Kenner2001-12-051-71/+137
| | | | | | | | | | | * vmsdbg.h, vmsdbgout.c: Add documentation and minor cleanups. * doc/invoke.texi: Add -gvms. * doc/passes.texi: Add mention of vmsdbgout.c. * doc/tm.texi: Document VMS debugging output. Co-Authored-By: Douglas B Rupp <rupp@gnat.com> From-SVN: r47668
* Fix copyright noticed.Richard Kenner2001-12-021-11/+13
| | | | From-SVN: r47537
* vms.h (VMS_DEBUGGING_INFO): New macro.Douglas B Rupp2001-12-021-0/+1669
* config/alpha/vms.h (VMS_DEBUGGING_INFO): New macro. (PREFERRED_DEBUGGING_TYPE): Define as VMS_AND_DWARF2_DEBUG. (ASM_SPEC): Don't redefine. (OPTIMIZATION_OPTIONS, OVERRIDE_OPTIONS, LINK_SPEC): Define. * config/alpha/t-vms (EXTRA_PARTS): Use; add rule for vms-dwarf2.asm. * config/alpha/vms-dwarf2.asm: New file. * Makefile.in (OBJS): Add vmsdbgout.c and its rule. * c-lex.c (init_c_lex): Test for VMS_AND_DWARF2_DEBUG. * debug.h (gcc_debug_hooks): Add vmsdbg_debug_hooks. (vmsdbgout_after_prologue): New declaration. * defaults.h (VMS_DEBUGGING_INFO): Add to PREFERRED_DEBUGGING_TYPE. * dwarf2.h (dwarf_attribute): New DW_AT_VMS_rtnbeg_pd_address. * dwarf2out.c (dwarf2out_do_frame): Test for VMS_AND_DWARF2_DEBUG. (dwarf2out_frame_finish): Test for VMS_AND_DWARF2_DEBUG. (dwarf_attr_name): Use DW_AT_VMS_rtnbeg_pd_address. (add_name_and_src_coords_attributes): Test VMS_DEBUGGING_INFO * final.c (final_start_function): Test for VMS_AND_DWARF2_DEBUG. Test VMS_DEBUGGING_INFO. (final_end_function): Test for VMS_AND_DWARF2_DEBUG. (final_scan_insn): Test for VMS_AND_DWARF2_DEBUG and VMS_DEBUG. * flags.h (debug_info_type): Add VMS_DEBUG and VMS_AND_DWARF2_DEBUG. * toplev.c (compile_file): Test VMS_DEBUGGING_INFO, VMS_DEBUG, and VMS_AND_DWARF2_DEBUG. (rest_of_type_compilation): Test for VMS_AND_DWARF2_DEBUG. (decode_g_option): Add "vms" to debug_type_names. (process_options): Set vmsdbg_debug_hooks if -gvms. (lang_independent_init): Emit line number for VMS unless -g0. * tree.c: (build_complex_type): Test for VMS_AND_DWARF2_DEBUG. * vmsdbg.h, vmsdbgout.c: New files. From-SVN: r47532