aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-09-252003-09-25 David Carlton <carlton@kealia.com>David Carlton2-1/+4
* gdb.base/corefile.exp: Delete obsolete setup_xfail.
2003-09-25 * acx.m4 (AC_PROG_CPP_WERROR): New.Daniel Jacobowitz2-0/+19
2003-09-25 * configure.in: Use AC_PROG_CPP_WERROR.Daniel Jacobowitz3-679/+424
* configure: Regenerated.
2003-09-25 * arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" andJerome Guitton2-3/+32
"add ip, sp #n" in the prologue. (arm_scan_prologue): Ditto.
2003-09-25* MAINTAINERS (write after approval): Add myself.Jerome Guitton2-0/+5
2003-09-25 * gas/cris/rd-pcrel2.d: Update for changes in section flagHans-Peter Nilsson2-0/+17
defaults.
2003-09-25 * m68k-tdep.c: Include "dwarf2-frame.h".Andreas Schwab3-2/+13
(m68k_gdbarch_init): Add the DWARF CFI frame unwinder. * Makefile.in (m68k-tdep.o): Update dependencies.
2003-09-25 * sh-tdep.c (struct frame_extra_info): Remove.Corinna Vinschen2-594/+579
(struct sh_frame_cache): New structure. (GET_SOURCE_REG): New macro extracting source register of an opcode. (GET_TARGET_REG): Ditto but target register. (GET_PUSHED_REG): Remove. (IS_MOV_ARG_TO_REG): New macro. (IS_MOV_ARG_TO_IND_R14): New macro. (IS_MOV_ARG_TO_IND_R14_WITH_DISP): New macro. (IS_MOVW_PCREL_TO_REG): New macro. (IS_MOVL_PCREL_TO_REG): New macro. (IS_SUB_REG_FROM_SP): New macro. (IS_ARG_MOV): Remove. (IS_MOV_TO_R14): Remove. (IS_RESTORE_FP): New macro. (IS_RTS): New macro. (IS_LDS): New macro. (IS_MOV_FP_SP): New macro. (IS_ADD_REG_TO_FP): New macro. (IS_ADD_IMM_FP): New macro. (sh_skip_prologue_hard_way): Remove. (sh_saved_pc_after_call): Remove. (sh_frame_chain): Remove. (sh_find_callers_reg): Remove. (sh_nofp_frame_init_saved_regs): Remove. (sh_fp_frame_init_saved_regs): Remove. (sh_init_extra_frame_info): Remove. (sh_analyze_prologue): New function. (sh_skip_prologue): Remove deprecated code. Rely on new function sh_analyze_prologue when after_prologue fails. (sh_frame_saved_pc): Remove. (sh_alloc_frame_cache): New function. (sh_frame_cache): Ditto. (sh_frame_prev_register): Ditto. (sh_frame_this_id): Ditto. (sh_frame_unwind): New structure defining the heuristic frame sniffer interface. (sh_frame_sniffer): New function. (sh_unwind_sp): Ditto. (sh_unwind_pc): Ditto. (sh_unwind_dummy_id): Ditto. (sh_frame_base_address): Ditto. (sh_frame_base): New structure defining new frame base code. (sh_in_function_epilogue_p): New function. (sh_gdbarch_init): Restructure and simplify to eliminate deprecated code and to call all new code instead. Initialize dwarf2 and heuristic frame sniffer.
2003-09-25* parser-defs.h (struct exp_descriptor): New definition, containingPaul N. Hilfinger16-33/+243
language-specific info for printing, prefixifying, dumping, and evaluating expressions. (exp_descriptor_standard): Declare new variable. (print_subexp): Make global and declare here (from expprint.c). (dump_subexp): Ditto. (dump_subexp_body_standard): Declare. (operator_length_standard): Declare. (op_name_standard): Declare. (print_subexp): Declare. (print_subexp_standard): Declare. * language.h (struct language_defn): Add la_exp_desc field to hold pointer to table for language-specific operators. Remove evaluate_exp field, which is now in struct exp_descriptor. * parse.c (operator_length): Move most code to new operator_length_standard function. Use language-specific information. (operator_length_standard): New function taking most code from operator_length. (exp_descriptor_standard): New constant. * expression.h (enum exp_opcode): Add definitions of OP_EXTENDED0 and OP_EXTENDED_LAST. * expprint.c (print_subexp): Use language-specific print_subexp. Make global; remove static declaration. Move most code to print_subexp_standard. (print_subexp_standard): New function, containing code formerly in print_subexp. (op_name): Add expression to argument signature. Use langauge-specific op_name. Move most code to op_name_standard. (op_name_standard): New function, containing code formerly in op_name. (dump_subexp): Use new version of op_name function. Use language-specific dump_subexp_body, and move most existing code to dump_subexp_body_standard. (dump_raw_expression): Use new op_name interface. (dump_subexp_body): Move most code to dump_subexp_body_standard. (dump_subexp_body_standard): New function, containing code formerly in dump_subexp_body. * language.c (unknown_language): Add default la_exp_desc field and remove evaluate_exp field. (auto_language): Ditto. (local_language): Ditto. * f-lang.c (f_language_defn): Ditto. * c-lang.c (c_language_defn): Ditto. (cplus_language_defn): Ditto. (asm_language_defn): Ditto. (minimal_language_defn): Ditto. * p-lang.c (pascal_language_defn): Ditto. * m2-lang.c (m2_language_defn): Ditto. * objc-lang.c (objc_language_defn): Ditto. * jv-lang.c (exp_descriptor_java): New variable, containing Java-specific expression evaluator. (java_language_defn): Add la_exp_desc field and remove evaluate_exp field. * scm-lang.c (exp_descriptor_scm): New variable, containing Scheme-specific expression evaluator. (scm_language_defn): Add la_exp_desc field and remove evaluate_exp field. * objc-lang.c (print_object_command): Take evaluate_exp from the la_exp_desc field. * Makefile.in (eval.o): Add dependency on parser-defs.h. * eval.c: Include parser-defs.h for the full declaration of la_exp_desc's type. (evaluate_subexp): Get evaluate_exp out of la_exp_desc field.
2003-09-252003-09-26 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+29
* elflink.c (elf_link_read_relocs_from_section): Add an argument of a pointer to section. Check bad symbol index. (_bfd_elf_link_read_relocs): Modify calls to elf_link_read_relocs_from_section.
2003-09-25*** empty log message ***gdbadmin1-1/+1
2003-09-242003-09-24 Dave Brolley <brolley@redhat.com>Dave Brolley4-157/+149
* frv-desc.c, frv-opc.c, frv-opc.h: Regenerated.
2003-09-242003-09-24 Dave Brolley <brolley@redhat.com>Dave Brolley11-504/+532
* profile.h (update_FR_ptime): New prototype. (update_FRdouble_ptime): Ditto. (update_SPR_ptime): Ditto. (increase_ACC_busy): Ditto. (enforce_full_acc_latency): Ditto. (post_wait_for_SPR): Ditto. * profile.c (update_FR_ptime): Moved here from profile-fr500.c. (update_FRdouble_ptime): Ditto. (update_SPR_ptime): New function. (increase_ACC_busy): Ditto. (enforce_full_acc_latency): Ditto. (vliw_wait_for_fdiv_resource): Correct resource name. (vliw_wait_for_fsqrt_resource): Ditto. (post_wait_for_SPR): New function. * profile-fr500.c (frvbf_model_fr500_u_commit): New function. (frvbf_model_fr500_u_gr2fr): Pass out_FRk as output register to adjust_float_register_busy. (frvbf_model_fr500_u_gr_load): Record latency of SPR registers. (frvbf_model_fr500_u_fr_load): Wait for and record latency of SPR registers. (frvbf_model_fr500_u_float_arith): Ditto. (frvbf_model_fr500_u_float_dual_arith): Ditto. (frvbf_model_fr500_u_float_div): Ditto. (frvbf_model_fr500_u_float_sqrt): Ditto. (frvbf_model_fr500_u_float_convert): Ditto. (update_FR_ptime): Moved to profile.c (update_FRdouble_ptime): Moved to profile.c * profile-fr400.c (update_FR_ptime): Removed. Identical to functions for other machines. (update_FRdouble_ptime): Ditto. * arch.h,cpu.h,sem.c,decode.[ch],model.c,sem.c: Regenerated.
2003-09-242003-09-24 Dave Brolley <brolley@redhat.com>Dave Brolley2-15/+52
* frv.cpu (u-commit): New modelling unit for fr500. (mwtaccg): Use frv_ref_SI to reference ACC40Sk as an input operand. (commit-r): Use u-commit model for fr500. (commit): Ditto. (conditional-float-binary-op): Take profiling data as an argument. Update callers. (ne-float-binary-op): Ditto.
2003-09-24* parser-defs.h (operator_length): Declare.Paul N. Hilfinger5-159/+94
* parse.c (length_of_subexp): Use operator_length to get operator lengths and arities for operators. Move most code to new operator_length function. (operator_length): New function absorbing most code from length_of_subexp. (prefixify_subexp): Remove large case and use operator_length instead. (parse_exp_1): Use renamings: dump_prefix_expression => dump_raw_expression and dump_postfix_expression => dump_prefix_expression. * expression.h (dump_prefix_expression): Rename to ... (dump_raw_expression): New name. (dump_postfix_expression): Rename to ... (dump_prefix_expression): New name. * expprint.c (dump_subexp): Make global. Add comment. Move most existing code to dump_subexp_body. (dump_subexp_body): New function. (dump_prefix_expression): Rename to dump_raw_expression. Remove attempt to print the expression via print_expression: it can't work before the expression is prefixified. (dump_raw_expression): Renamed from dump_prefix_expression. (dump_postfix_expression): Rename to dump_prefix_expression, since that's what it does. Remove 'note' parameter, since this routine must be used on prefixified expression. (dump_prefix_expression): Renamed from dump_postfix_expression.
2003-09-24* sh.h (R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,DJ Delorie4-69/+341
R_SH_LOOP_START,R_SH_LOOP_END): Move to "reserved" spaces. (R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U, R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U, R_SH_PSHA, R_SH_PSHL): New. * elf32-sh.c (sh_elf_howto_table): R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY, R_SH_LOOP_START,R_SH_LOOP_END moved to "reserved" spaces, R_SH_DIR16, R_SH_DIR8, R_SH_DIR8UL, R_SH_DIR8UW, R_SH_DIR8U, R_SH_DIR8SW, R_SH_DIR8S, R_SH_DIR4UL, R_SH_DIR4UW, R_SH_DIR4U, R_SH_PSHA, R_SH_PSHL added. (sh_reloc_map): Add R_SH_DIR16 and R_SH_DIR8. (sh_elf_relocate_section): Support new relocs.
2003-09-24*** empty log message ***gdbadmin1-1/+1
2003-09-23 * elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobberedBob Wilson2-2/+7
dynamic relocation offsets.
2003-09-232003-09-23 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+10
* gdb.base/selftest.exp: Accomodate more instruction reordering weirdness.
2003-09-23* dwarf2read.c (read_array_type): When building the type for anJim Blandy2-2/+15
array of unspecified length, make sure to choose the upper bound so that the array's total length comes out to be zero --- that's how we represent such arrays.
2003-09-23 * simple.c (bfd_simple_get_relocated_section_contents): Free theAlan Modra2-1/+6
hash table using _bfd_generic_link_hash_table_free.
2003-09-23o * ld-discard/exit.s: Correct .text.exit attributes.Alan Modra4-3/+9
* ld-discard/extern.s: Likewise. * ld-discard/static.s: Likewise.
2003-09-23 * config/obj-elf.c (obj_elf_change_section): Adjust forAlan Modra2-16/+31
_bfd_elf_get_sec_type_attr changes. Allow SHF_MERGE and SHF_STRINGS to be set when defaults are not. Don't set attr from defaults if old_sec.
2003-09-23 * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". ChangeAlan Modra17-250/+202
type of prefix_length and suffix_length to int. Rename "attributes" to "attr". Comment. (_bfd_elf_get_sec_type_attr): Update prototype. * elf.c (get_special_section): Rewrite. (_bfd_elf_get_sec_type_attr): Return struct rather than passing in attr and type pointers. (_bfd_elf_new_section_hook): Adjust for above. (special_sections): Merge suffix with prefix. Set prefix_length for all entries. Set suffix_length appropriately. * elf32-m32r.c (m32r_elf_special_sections): Likewise. * elf32-m68hc11.c (elf32_m68hc11_special_sections): Likewise. * elf32-m68hc12.c (elf32_m68hc12_special_sections): Likewise. * elf32-mcore.c (mcore_elf_special_sections): Likewise. * elf32-sh64.c (sh64_elf_special_sections): Likewise. * elf32-v850.c (v850_elf_special_sections): Likewise. * elf32-xtensa.c (elf_xtensa_special_sections): Likewise. * elf64-alpha.c (elf64_alpha_special_sections): Likewise. * elf64-hppa.c (elf64_hppa_special_sections): Likewise. * elf64-ppc.c (ppc64_elf_special_sections): Likewise. * elf64-sh64.c (sh64_elf64_special_sections): Likewise. * elfxx-ia64.c (elfNN_ia64_special_sections): Likewise. * elfxx-mips.c (_bfd_mips_elf_special_sections): Likewise. * elf32-ppc.c (ppc_elf_special_sections): Likewise. Fix .plt flags.
2003-09-23*** empty log message ***gdbadmin1-1/+1
2003-09-222003-09-22 Michael Chastain <mec@shout.net>Michael Chastain2-1/+5
* gdbint.texinfo (Testsuite Organization): Change gdb.c++ to gdb.cp.
2003-09-222003-09-22 Michael Chastain <mec@shout.net>Michael Chastain2-1/+5
* MAINTAINERS: Rename gdb.c++ to gdb.cp.
2003-09-222003-09-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+10
* top.c (quit_force): Fix indirect call to quit_target so a struct qt_args pointer is passed.
2003-09-222003-09-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-23/+15
* arch-utils.h (init_frame_pc_noop): Delete declaration. * arch-utils.c (init_frame_pc_noop): Delete function. * mn10300-tdep.c (mn10300_gdbarch_init): Do not set "init_frame_pc". * mips-tdep.c (mips_gdbarch_init): Ditto. * i386-interix-tdep.c (i386_interix_init_abi): Ditto. * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete declaration. (DEPRECATED_INIT_FRAME_PC): Delete macro. * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete declaration. (DEPRECATED_INIT_FRAME_PC): Delete macro.
2003-09-222003-09-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-47/+106
* floatformat.h (struct floatformat): Add field "is_valid". 2003-09-22 Andrew Cagney <cagney@redhat.com> * floatformat.c (floatformat_i387_ext_is_valid): New function. (floatformat_always_valid): New function. (floatformat_i387_ext): Initialize new "is_valid" field to "floatformat_i387_ext_is_valid". (floatformat_ieee_single_little): Initialize "is_valid" field to floatformat_always_valid. (floatformat_ieee_double_big): Ditto. (floatformat_ieee_double_little): Ditto. (floatformat_ieee_double_little): Ditto. (floatformat_ieee_double_littlebyte_bigword): Ditto. (floatformat_i960_ext): Ditto. (floatformat_m88110_ext): Ditto. (floatformat_m88110_harris_ext): Ditto. (floatformat_arm_ext_big): Ditto. (floatformat_arm_ext_littlebyte_bigword): Ditto. (floatformat_ia64_spill_big): Ditto. (floatformat_ia64_spill_little): Ditto. (floatformat_ia64_quad_big): Ditto. (floatformat_ia64_quad_little): Ditto. (floatformat_ia64_quad_little): Ditto. (floatformat_is_valid): Call "is_valid".
2003-09-22Fix targ_ops declaration problem.Anthony Green2-1/+5
2003-09-22Fix typos.Anthony Green2-2/+6
2003-09-22*** empty log message ***gdbadmin1-1/+1
2003-09-21 * configure.in: Pass a computed --program-transform-nameDaniel Jacobowitz3-35/+91
to subconfigures. * configure: Regenerated.
2003-09-21 * elf64-alpha.c (elf64_alpha_create_got_section): InitializeDaniel Jacobowitz2-2/+12
->got if the section already exists.
2003-09-21* gdbint.texinfo (Target Architecture Definition): DocumentMark Kettenis2-2/+20
stabs_argument_has_addr.
2003-09-21 * ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure.Thiemo Seufer5-4/+11
* ld-mips-elf/relax-jalr-n32-shared.d: Likewise. * ld-mips-elf/relax-jalr-n64.d: Likewise. * ld-mips-elf/relax-jalr-n64-shared.d: Likewise.
2003-09-212003-09-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney40-119/+11
* breakpoint.c: Eliminate ARGSUSED. * buildsym.c, cli/cli-cmds.c, cli/cli-script.c: Ditto. * coffread.c, corelow.c, dwarf2read.c, event-top.c: Ditto. * exec.c, gcore.c, hpux-thread.c, infcmd.c, inflow.c: Ditto. * infrun.c, inftarg.c, maint.c, ocd.c, printcmd.c: Ditto. * procfs.c, regcache.c, remote-rdi.c, remote-sds.c: Ditto. * remote.c, sol-thread.c, source.c, stabsread.c: Ditto. * stack.c, symfile.c, target.c, top.c, typeprint.c: Ditto. * utils.c, v850ice.c, valprint.c, values.c, win32-nat.c: Ditto. * wince.c, remote-vx.c: Ditto.
2003-09-21*** empty log message ***gdbadmin1-1/+1
2003-09-20 * Makefile.tpl: Don't pass down obsolete ENQUIRE variable.Nathanael Nerode3-6/+8
* Makefile.in: Regenerate. * Makefile.tpl: Don't pass (unused) DLLTOOL or WINDRES to gcc. * Makefile.in: Regenerate.
2003-09-202003-09-20 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-22/+33
* cli/cli-script.c: Remove "register" attributes. * config/pa/tm-hppa.h: Ditto. * cli/cli-decode.c: Ditto. * cli/cli-cmds.c: Ditto.
2003-09-202003-09-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+8
* sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to DEPRECATED_NPC_REGNUM. * sparc64nbsd-nat.c (getregs_supplies): Ditto.
2003-09-20revert accidental checkinChristopher Faylor1-37/+0
2003-09-20* win32-nat.c (mappings): Remove HAVE_SSE conditional.Christopher Faylor4-4/+41
2003-09-20daily updateAlan Modra1-1/+1
2003-09-20*** empty log message ***gdbadmin1-1/+1
2003-09-19 * gas/mips/elfel-rel.d: Add ABI specification.Thiemo Seufer4-0/+9
* gas/mips/elfel-rel2.d: Likewise. * gas/mips/elfel-rel3.d: Likewise.
2003-09-19* macrotab.c (macro_include): Use the correct comparison to findJim Blandy2-4/+8
the appropriate place for this inclusion in the list.
2003-09-19Revert previous patch. Oops, didn't mean to yank the docoAndrew Cagney2-5/+5
2003-09-192003-09-19 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-41/+49
* config/pa/nm-hppah.h (NEED_TEXT_START_END): Delete. (DEPRECATED_HPUX_TEXT_END): Define. (deprecated_hpux_text_end): Declare. (struct target_ops): Declare opaque. * hppah-nat.c (text_end): Make static. (deprecated_hpux_text_end): New function. * exec.c (text_end): Delete global variable. (NEED_TEXT_START_END): Do not define. (exec_file_attach): Replace code computing "text_end" code with call to DEPRECATED_HPUX_TEXT_END. 2003-09-19 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Target Architecture Definition): Delete documentation for NEED_TEXT_START_END.