aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
AgeCommit message (Collapse)AuthorFilesLines
1998-04-24dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC appropriately.Jeff Law1-25/+58
d * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC appropriately. (dbxout_type_method_1, dbxout_type): Likewise. (print_int_cst_octal, print_octal, dbxout_symbol): Likewise. (dbxout_type): Fix check for when to print a type range in octal vs decimal. From-SVN: r19402
1998-03-25Fix warnings from Kaveh R. GhaziMichael Meissner1-2/+6
From-SVN: r18826
1998-03-20Major cutover to using system.h:Kaveh R. Ghazi1-15/+1
* Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o, c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o, caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o, dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o, expr.o, final.o, flow.o, function.o, getpwd.o, global.o, integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o, prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o, reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o, rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o, tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend on system.h. * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c, c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c, caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c, dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c, expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c, integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c, prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c, reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c, rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c, stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c, xcoffout.c: Include system.h. Organize include ordering so that stdarg/varargs comes before other system headers. Remove spurious casts of functions assured of a prototype in system.h. From-SVN: r18726
1998-03-18dbxout.c (dbxout_function_end): Fix last change.Richard Henderson1-2/+2
* dbxout.c (dbxout_function_end): Fix last change. The correct predicate is ASM_OUTPUT_SECTION_NAME. From-SVN: r18675
1998-03-18Fix more warnings...Kaveh R. Ghazi1-3/+6
* c-lang.c (finish_file): Wrap variable `void_list_node' with macro test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR. * calls.c (emit_call_1): Wrap variable `already_popped' with macro test !ACCUMULATE_OUTGOING_ARGS. * collect2.c (write_c_file_glob): Wrap function definition in macro test !LD_INIT_SWITCH. * combine.c (try_combine): Wrap variables `cc_use' and `compare_mode' in macro test EXTRA_CC_MODES. * cpplib.c (do_ident): Remove unused variable `len'. (skip_if_group): Remove unused variables `at_beg_of_line' and `after_ident'. (cpp_get_token): Remove unused variable `dummy'. * dbxout.c (scope_labelno): Move static variable definition inside the one function scope where it is used. (dbxout_function_end): Wrap prototype and definition in macro test !NO_DBX_FUNCTION_END. * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number' in macro test !MIPS_DEBUGGING_INFO. * expr.c (expand_builtin_setjmp): Move declaration of variable `i' into the scope where it is used. Wrap empty else-statement body in braces. * fix-header.c: Fix typo in comment. (inf_skip_spaces): Cast results of INF_UNGET to (void). (check_protection, main): Likewise. * flow.c (find_basic_blocks_1): Remove dangling comment text. * function.c (contains): Wrap prototype and definition in macro test HAVE_prologue || HAVE_epilogue. (fixup_var_refs_1): Remove unused variable `width'. * gen-protos.c (main): Remove unused variable `optr'. * haifa-sched.c (debug_control_flow): Remove unused variable `j'. * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0. (__sjpopnthrow): Remove unused variable `jmpbuf'. (__throw): Remove unused variable `val'. * protoize.c: Check for a previously existing definition before defining *_OK macros. * scan-decls.c (scan_decls): Remove unused variable `old_written'. From-SVN: r18654
1998-03-11dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a TREE_VEC if ↵Mark Mitchell1-1/+1
that's what it really is. * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a TREE_VEC if that's what it really is. From-SVN: r18487
1998-02-07c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.Robert Lipe1-0/+8
* c-common.c: Include <stdlib.h> and <string.h>/<strings.h>. * calls.c (expand_call): Remove unused variables funtree, n_regs, and tmpmode. * dbxout.c, except.c: Include <string.h>/<strings.h>. * explow.c: (plus_constant_for_output_wide) Removed unused variable all_constant. * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c, genrecog.c, global.c, integrate.c , stupid.c : Include <stdlib.h>. * genextract.c: (walk_rtx) Remove unused variable link. * genrecog.c: (concat) Remove unreferenced static function. * prefix.c: Include <string.h>/<strings.h>, <stdlib.h> * stmt.c: Include <stdlib.h>. (expand_asm_operands): Remove unused variable val1. (expand_return): Remove unused variable block. (pushcase): Remove unused variables l and n. (pushcaserange): Likewise. * unroll.c (unroll_loop): Remove unused variable temp. From-SVN: r17766
1998-01-28dbxout.c (dbxout_type): For a RECORD_TYPE...Per Bothner1-1/+3
� * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO is a TREE_VEC before trying to use it for baseclasses. (Chill uses the same field for a different purpose.) From-SVN: r17534
1997-12-18tree.c (build_range_type): Allow creation of ranges with no maximum.Richard Henderson1-1/+2
* tree.c (build_range_type): Allow creation of ranges with no maximum. * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE. * dwarf2out.c (add_subscript_info): Likewise. * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise. * sdbout.c (plain_type_1): Likewise. * stmt.c (pushcase_range, all_cases_count, node_has_high_bound): Likewise. * fold-const.c (int_const_binop, fold_convert, make_range, fold): Likewise. From-SVN: r17142
1997-12-15reload.h, [...]: Revert March 15 change.Richard Henderson1-3/+3
* reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c, dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change. * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the SUBREG_REG if the word count is unchanged. * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve subregs of identical word size for push_reload. From-SVN: r17105
1997-11-13dbxout.c (dbxout_symbol_location): Don't assume that variables whose address ↵Michael Meissner1-1/+6
is the stack or argument pointers are... * dbxout.c (dbxout_symbol_location): Don't assume that variables whose address is the stack or argument pointers are indirect pointers. From-SVN: r16475
1997-11-02Update mainline egcs to gcc2 snapshot 971021.Jeff Law1-2/+6
From-SVN: r16278
1997-10-23dbxout.c (dbxout_start_new_source_file): Use output_quoted_string for FILENAME.J"orn Rennecke1-1/+3
* dbxout.c (dbxout_start_new_source_file): Use output_quoted_string for FILENAME. From-SVN: r16155
1997-06-18* dbxout.c (dbxout_type_fields): Skip field if DECL_IGNORED_P.Per Bothner1-0/+2
From-SVN: r14259
1997-05-15dbxout.c (dbxout_function_end): Don't subtract one from the end of function ↵Jeff Law1-1/+1
scoping stab. * dbxout.c (dbxout_function_end): Don't subtract one from the end of function scoping stab. From-SVN: r14069
1997-05-06reformat a little to match GNU coding standards.Mike Stump1-7/+7
From-SVN: r14023
1997-04-30(dbxout_function): Test NO_DBX_FUNCTION_END at run timeJim Wilson1-2/+6
instead of compile time. From-SVN: r13998
1997-03-15Change all calls to eliminate_regs.Richard Kenner1-4/+4
From-SVN: r13705
1996-09-23(dbxout_symbol): Fix forgotten case in last change: checkRichard Kenner1-1/+4
DECL_ARTIFICIAL also when using the short cut way. From-SVN: r12791
1996-09-23(dbxout_function): Don't check DECL_SECTION_NAME beforeJim Wilson1-2/+1
calling dbxout_function_end. From-SVN: r12779
1996-07-03formatting tweaksMike Stump1-7/+7
From-SVN: r12390
1996-06-28(dbxout_function): Respect NO_DBX_FUNCTION_END.Richard Kenner1-1/+1
From-SVN: r12356
1996-05-19Add prototypes for all static functions.Richard Kenner1-115/+20
(adspath): Delete; never used and has numerous parse errors. From-SVN: r12042
1996-05-06dbxout.c (dbxout_function): When deciding to call dbxout_function_end change ↵Doug Evans1-1/+2
test from... * dbxout.c (dbxout_function): When deciding to call dbxout_function_end change test from flag_function_sections to DECL_SECTION_NAME != NULL. From-SVN: r11946
1996-04-15flags.h (flag_function_sections): Declare.Jeff Law1-0/+25
* flags.h (flag_function_sections): Declare. * toplev.c (flag_function_sections): Define. (compile_file): Add warnings when -ffunction-sections is used with -g, or profiling. Disable -ffunction-sections when profiling is used. Add warning when -ffunction-sections is used on a target that doesn't support it. * varasm.c (named_section): Make a copy of the section name in case the original is in temporary storage. (function_section): Set DECL_SECTION_NAME for each function if flag_function_sections is on and the target supports it. * dbxout.c (dbxout_function_end): New function. (dbxout_function): Call dbxout_function_end if using extensions and flag_function_sections is on. * sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Prefix a function section's name with ".text%" when -ffunction-sections. From-SVN: r11774
1996-04-12(dbxout_typedefs): Don't emit incomplete types yet.Jason Merrill1-4/+2
(dbxout_symbol): Use DECL_ARTIFICIAL to recognize C++ implicit typedefs. From-SVN: r11703
1996-03-12dbxout.c (dbxout_type): Better "variant" handling to ignore const/volatile ↵Per Bothner1-3/+13
but not typedef names. * dbxout.c (dbxout_type): Better "variant" handling to ignore const/volatile but not typedef names. Improves Feb 12 change. From-SVN: r11523
1996-02-29(dbxout_type, case METHOD_TYPE): Add CHARS (1) callJim Wilson1-0/+1
after emitting second '#' character. From-SVN: r11390
1996-02-12Changes to distinguish typedef from original type in debug output.Per Bothner1-1/+9
* dbxout,c (dbxout_type): Don't canonicalize typedef type to base. From-SVN: r11217
1996-02-06dbxout.c (dbxout_range_type): Emit non-range INTEGER_TYPE as a sub-range of ↵Per Bothner1-3/+6
itself (so gdb can tell the... * dbxout.c (dbxout_range_type): Emit non-range INTEGER_TYPE as a sub-range of itself (so gdb can tell the difference). From-SVN: r11179
1996-01-30Don't include <string.h>. Don't compare strchr result to NULL.Ian Lance Taylor1-2/+1
From-SVN: r11125
1996-01-29Don't use #ifndef inside call to strchr, to avoid AIX problemIan Lance Taylor1-4/+5
From-SVN: r11121
1996-01-22Include <string.h>Ian Lance Taylor1-0/+1
From-SVN: r11078
1996-01-19Avoid minimal C++ debugging in a couple of cases where it doesn't workIan Lance Taylor1-8/+31
From-SVN: r11072
1996-01-02(gstab.h): Include if cross compiling.Jim Wilson1-1/+1
From-SVN: r10935
1995-12-13Output N_BINCL and N_EINCL stabs if DBX_USE_BINCL is defined.Ian Lance Taylor1-40/+152
From-SVN: r10706
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9959
1995-04-12(dbxout_type_fields): Correct arguments to CHARS macro in flag_minimal_debug ↵Jim Wilson1-9/+3
case. (dbxout_type_fields): Correct arguments to CHARS macro in flag_minimal_debug case. (dbxout_symbol_name): Use DECL_ASSEMBLER_NAME unconditionally. From-SVN: r9366
1995-03-11(dbxout_symbol): Properly handle decl whose DECL_NAME points to aRichard Kenner1-1/+4
TYPE_DECL with a zero TYPE_NAME. From-SVN: r9171
1995-02-24(GDB_INV_REF_REGPARM_STABS_LETTER): New macro.Jim Wilson1-3/+11
(dbxout_parms): For gdb, output use GDB_INV_REF_REGPARM_STABS_LETTER for parameters passed by invisible reference in registers. From-SVN: r9063
1995-02-24(dbxout_parms): For parameters passed in memory...Jim Wilson1-88/+6
(dbxout_parms): For parameters passed in memory, delete obsolete code to handle parameters converted and stored back to the stack slot where they were passed in. (dbxout_reg_parms): Delete obsolete ifdefed out code. Combine redundant PARM_PASSED_IN_MEMORY tests. For case where parameter lives in memory, output stab if it doesn't live where it was passed. From-SVN: r9057
1995-02-05(dbxout_source_file): Clean up null tree pointer test. Update copyright.Doug Evans1-2/+2
From-SVN: r8867
1995-02-04(dbxout_source_file): Don't switch to text section if in function with ↵Doug Evans1-2/+6
section attribute. (dbxout_source_file): Don't switch to text section if in function with section attribute. Print Ltext label to correct file (important on mips). From-SVN: r8859
1994-12-09(dbxout_type_method_1): Don't try to look at the firstJason Merrill1-1/+1
argument of non-methods (which might not have a first argument). From-SVN: r8633
1994-11-16Check target endianness at run time, not compile timeIan Lance Taylor1-6/+5
From-SVN: r8470
1994-09-09(dbxout_symbol_location): Handle error_mark_node inJim Wilson1-1/+7
DECL_INITIAL for C++. From-SVN: r8060
1994-07-12(dbxout_source_file): Increment source_label_number outsideRichard Earnshaw1-1/+2
of macro expansion. From-SVN: r7737
1994-07-02(dbxout_type_methods): Enable debugging info forJim Wilson1-0/+2
template classes. From-SVN: r7647
1994-06-18(dbxout_symbol): Replace DECL_IGNORED_P withJim Wilson1-1/+1
TYPE_DECL_SUPPRESS_DEBUG. From-SVN: r7515
1994-06-15(dbxout_type): Fix call to bzero.Doug Evans1-4/+5
From-SVN: r7496