binutils-gdb.git
21 years ago2003-09-25 David Carlton <carlton@kealia.com>
David Carlton [Thu, 25 Sep 2003 15:40:20 +0000 (15:40 +0000)]
2003-09-25  David Carlton  <carlton@kealia.com>

* gdb.base/corefile.exp: Delete obsolete setup_xfail.

21 years ago * acx.m4 (AC_PROG_CPP_WERROR): New.
Daniel Jacobowitz [Thu, 25 Sep 2003 14:27:21 +0000 (14:27 +0000)]
* acx.m4 (AC_PROG_CPP_WERROR): New.

21 years ago * configure.in: Use AC_PROG_CPP_WERROR.
Daniel Jacobowitz [Thu, 25 Sep 2003 14:26:41 +0000 (14:26 +0000)]
* configure.in: Use AC_PROG_CPP_WERROR.
* configure: Regenerated.

21 years ago * arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" and
Jerome Guitton [Thu, 25 Sep 2003 14:21:00 +0000 (14:21 +0000)]
* arm-tdep.c (arm_skip_prologue): Handle "sub ip, sp #n" and
"add ip, sp #n" in the prologue.
(arm_scan_prologue): Ditto.

21 years ago* MAINTAINERS (write after approval): Add myself.
Jerome Guitton [Thu, 25 Sep 2003 13:55:58 +0000 (13:55 +0000)]
* MAINTAINERS (write after approval): Add myself.

21 years ago * gas/cris/rd-pcrel2.d: Update for changes in section flag
Hans-Peter Nilsson [Thu, 25 Sep 2003 13:06:56 +0000 (13:06 +0000)]
* gas/cris/rd-pcrel2.d: Update for changes in section flag
defaults.

21 years ago * m68k-tdep.c: Include "dwarf2-frame.h".
Andreas Schwab [Thu, 25 Sep 2003 09:10:30 +0000 (09:10 +0000)]
* m68k-tdep.c: Include "dwarf2-frame.h".
(m68k_gdbarch_init): Add the DWARF CFI frame unwinder.
* Makefile.in (m68k-tdep.o): Update dependencies.

21 years ago * sh-tdep.c (struct frame_extra_info): Remove.
Corinna Vinschen [Thu, 25 Sep 2003 08:55:53 +0000 (08:55 +0000)]
* sh-tdep.c (struct frame_extra_info): Remove.
(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.

21 years ago* parser-defs.h (struct exp_descriptor): New definition, containing
Paul N. Hilfinger [Thu, 25 Sep 2003 08:40:45 +0000 (08:40 +0000)]
* parser-defs.h (struct exp_descriptor): New definition, containing
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.

21 years ago2003-09-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 25 Sep 2003 07:10:42 +0000 (07:10 +0000)]
2003-09-26  H.J. Lu  <hongjiu.lu@intel.com>

* 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.

21 years ago*** empty log message ***
gdbadmin [Thu, 25 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-09-24 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 24 Sep 2003 19:10:48 +0000 (19:10 +0000)]
2003-09-24  Dave Brolley  <brolley@redhat.com>

        * frv-desc.c, frv-opc.c, frv-opc.h: Regenerated.

21 years ago2003-09-24 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 24 Sep 2003 19:05:39 +0000 (19:05 +0000)]
2003-09-24  Dave Brolley  <brolley@redhat.com>

        * 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.

21 years ago2003-09-24 Dave Brolley <brolley@redhat.com>
Dave Brolley [Wed, 24 Sep 2003 19:04:54 +0000 (19:04 +0000)]
2003-09-24  Dave Brolley  <brolley@redhat.com>

        * 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.

21 years ago* parser-defs.h (operator_length): Declare.
Paul N. Hilfinger [Wed, 24 Sep 2003 08:29:42 +0000 (08:29 +0000)]
* parser-defs.h (operator_length): Declare.

* 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.

21 years ago* sh.h (R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,
DJ Delorie [Wed, 24 Sep 2003 02:27:57 +0000 (02:27 +0000)]
* sh.h (R_SH_SWITCH8, R_SH_GNU_VTINHERIT, R_SH_GNU_VTENTRY,
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.

21 years ago*** empty log message ***
gdbadmin [Wed, 24 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
Bob Wilson [Tue, 23 Sep 2003 20:23:55 +0000 (20:23 +0000)]
* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
dynamic relocation offsets.

21 years ago2003-09-23 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 23 Sep 2003 19:19:48 +0000 (19:19 +0000)]
2003-09-23  Elena Zannoni  <ezannoni@redhat.com>

* gdb.base/selftest.exp: Accomodate more instruction reordering
        weirdness.

21 years ago* dwarf2read.c (read_array_type): When building the type for an
Jim Blandy [Tue, 23 Sep 2003 16:25:13 +0000 (16:25 +0000)]
* dwarf2read.c (read_array_type): When building the type for an
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.

21 years ago * simple.c (bfd_simple_get_relocated_section_contents): Free the
Alan Modra [Tue, 23 Sep 2003 03:59:25 +0000 (03:59 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Free the
hash table using _bfd_generic_link_hash_table_free.

21 years agoo * ld-discard/exit.s: Correct .text.exit attributes.
Alan Modra [Tue, 23 Sep 2003 00:41:51 +0000 (00:41 +0000)]
o * ld-discard/exit.s: Correct .text.exit attributes.
* ld-discard/extern.s: Likewise.
* ld-discard/static.s: Likewise.

21 years ago * config/obj-elf.c (obj_elf_change_section): Adjust for
Alan Modra [Tue, 23 Sep 2003 00:41:14 +0000 (00:41 +0000)]
* config/obj-elf.c (obj_elf_change_section): Adjust for
_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.

21 years ago * elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". Change
Alan Modra [Tue, 23 Sep 2003 00:40:49 +0000 (00:40 +0000)]
* elf-bfd.h (struct bfd_elf_special_section): Remove "suffix".  Change
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.

21 years ago*** empty log message ***
gdbadmin [Tue, 23 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-09-22 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 22 Sep 2003 23:20:54 +0000 (23:20 +0000)]
2003-09-22  Michael Chastain  <mec@shout.net>

* gdbint.texinfo (Testsuite Organization): Change gdb.c++ to gdb.cp.

21 years ago2003-09-22 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 22 Sep 2003 23:06:16 +0000 (23:06 +0000)]
2003-09-22  Michael Chastain  <mec@shout.net>

* MAINTAINERS: Rename gdb.c++ to gdb.cp.

21 years ago2003-09-22 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 22 Sep 2003 17:46:28 +0000 (17:46 +0000)]
2003-09-22  Jeff Johnston  <jjohnstn@redhat.com>

        * top.c (quit_force): Fix indirect call to quit_target so
        a struct qt_args pointer is passed.

21 years ago2003-09-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 22 Sep 2003 17:45:02 +0000 (17:45 +0000)]
2003-09-22  Andrew Cagney  <cagney@redhat.com>

* 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.

21 years ago2003-09-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 22 Sep 2003 17:41:02 +0000 (17:41 +0000)]
2003-09-22  Andrew Cagney  <cagney@redhat.com>

* 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".

21 years agoFix targ_ops declaration problem.
Anthony Green [Mon, 22 Sep 2003 14:50:37 +0000 (14:50 +0000)]
Fix targ_ops declaration problem.

21 years agoFix typos.
Anthony Green [Mon, 22 Sep 2003 00:49:51 +0000 (00:49 +0000)]
Fix typos.

21 years ago*** empty log message ***
gdbadmin [Mon, 22 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * configure.in: Pass a computed --program-transform-name
Daniel Jacobowitz [Sun, 21 Sep 2003 19:31:18 +0000 (19:31 +0000)]
* configure.in: Pass a computed --program-transform-name
to subconfigures.
* configure: Regenerated.

21 years ago * elf64-alpha.c (elf64_alpha_create_got_section): Initialize
Daniel Jacobowitz [Sun, 21 Sep 2003 19:24:52 +0000 (19:24 +0000)]
* elf64-alpha.c (elf64_alpha_create_got_section): Initialize
->got if the section already exists.

21 years ago* gdbint.texinfo (Target Architecture Definition): Document
Mark Kettenis [Sun, 21 Sep 2003 19:23:15 +0000 (19:23 +0000)]
* gdbint.texinfo (Target Architecture Definition): Document
stabs_argument_has_addr.

21 years ago * ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure.
Thiemo Seufer [Sun, 21 Sep 2003 16:40:29 +0000 (16:40 +0000)]
* ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure.
* 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.

21 years ago2003-09-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 21 Sep 2003 01:26:46 +0000 (01:26 +0000)]
2003-09-20  Andrew Cagney  <cagney@redhat.com>

* 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.

21 years ago*** empty log message ***
gdbadmin [Sun, 21 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * Makefile.tpl: Don't pass down obsolete ENQUIRE variable.
Nathanael Nerode [Sat, 20 Sep 2003 21:19:02 +0000 (21:19 +0000)]
* Makefile.tpl: Don't pass down obsolete ENQUIRE variable.
* Makefile.in: Regenerate.

* Makefile.tpl: Don't pass (unused) DLLTOOL or WINDRES to gcc.
* Makefile.in: Regenerate.

21 years ago2003-09-20 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 20 Sep 2003 17:50:28 +0000 (17:50 +0000)]
2003-09-20  Andrew Cagney  <cagney@redhat.com>

* cli/cli-script.c: Remove "register" attributes.
* config/pa/tm-hppa.h: Ditto.
* cli/cli-decode.c: Ditto.
* cli/cli-cmds.c: Ditto.

21 years ago2003-09-19 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 20 Sep 2003 03:20:41 +0000 (03:20 +0000)]
2003-09-19  Andrew Cagney  <cagney@redhat.com>

* sparcnbsd-nat.c (getregs_supplies): Rename NPC_REGNUM to
DEPRECATED_NPC_REGNUM.
* sparc64nbsd-nat.c (getregs_supplies): Ditto.

21 years agorevert accidental checkin
Christopher Faylor [Sat, 20 Sep 2003 02:39:31 +0000 (02:39 +0000)]
revert accidental checkin

21 years ago* win32-nat.c (mappings): Remove HAVE_SSE conditional.
Christopher Faylor [Sat, 20 Sep 2003 02:38:39 +0000 (02:38 +0000)]
* win32-nat.c (mappings): Remove HAVE_SSE conditional.

21 years agodaily update
Alan Modra [Sat, 20 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 20 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * gas/mips/elfel-rel.d: Add ABI specification.
Thiemo Seufer [Fri, 19 Sep 2003 23:34:16 +0000 (23:34 +0000)]
* gas/mips/elfel-rel.d: Add ABI specification.
* gas/mips/elfel-rel2.d: Likewise.
* gas/mips/elfel-rel3.d: Likewise.

21 years ago* macrotab.c (macro_include): Use the correct comparison to find
Jim Blandy [Fri, 19 Sep 2003 21:51:32 +0000 (21:51 +0000)]
* macrotab.c (macro_include): Use the correct comparison to find
the appropriate place for this inclusion in the list.

21 years agoRevert previous patch. Oops, didn't mean to yank the doco
Andrew Cagney [Fri, 19 Sep 2003 20:11:42 +0000 (20:11 +0000)]
Revert previous patch.  Oops, didn't mean to yank the doco

21 years ago2003-09-19 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 19 Sep 2003 20:09:45 +0000 (20:09 +0000)]
2003-09-19  Andrew Cagney  <cagney@redhat.com>

* 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.

21 years ago2003-09-19 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 19 Sep 2003 18:59:45 +0000 (18:59 +0000)]
2003-09-19  Michael Snyder  <msnyder@redhat.com>

* sim/frv/nldqi.cgs: Remove.  This insn was never implemented
by Fujitsu.

21 years ago2003-09-19 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 19 Sep 2003 18:59:13 +0000 (18:59 +0000)]
2003-09-19  Michael Snyder  <msnyder@redhat.com>

* frv.cpu (nldqi): Delete unimplemented instruction.

21 years ago2003-09-19 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 19 Sep 2003 17:38:57 +0000 (17:38 +0000)]
2003-09-19  Dave Brolley  <brolley@redhat.com>

        * sim/frv/rstqf.cgs: Use nldq instead of nldqi.
        * sim/frv/rstq.cgs: Use nldq instead of nldqi.

21 years ago2003-09-19 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 19 Sep 2003 16:22:39 +0000 (16:22 +0000)]
2003-09-19  Andrew Cagney  <cagney@redhat.com>

* utils.c (align_up, align_down): New functions.
* defs.h (align_up, align_down): Declare.
* ppc-sysv-tdep.c (align_up, align_down): Delete functions.
* s390-tdep.c: Replace "round_up" and "round_down" with "align_up"
and "align_down".
(round_up, round_down): Delete functions.
* mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and
"align_down".
(ROUND_DOWN, ROUND_UP): Delete macros.
(mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN".
* h8300-tdep.c: Replace "round_up" and "round_down" with
"align_up" and "align_down".
(round_up, round_down): Delete macros.
* frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and
"align_down".
(ROUND_UP, ROUND_DOWN): Delete macros.

21 years ago * gas/mips/rm7000.s: Let objdump print trailing dots.
Thiemo Seufer [Fri, 19 Sep 2003 15:39:42 +0000 (15:39 +0000)]
* gas/mips/rm7000.s: Let objdump print trailing dots.

21 years ago * gas/mips/empic3_e.s: Fix typo.
Thiemo Seufer [Fri, 19 Sep 2003 15:32:26 +0000 (15:32 +0000)]
* gas/mips/empic3_e.s: Fix typo.

21 years ago * dwarf2.c (decode_line_info): Cope with an initially empty
Nathan Sidwell [Fri, 19 Sep 2003 09:01:53 +0000 (09:01 +0000)]
* dwarf2.c (decode_line_info): Cope with an initially empty
filename table.

21 years ago * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a
Joel Brobecker [Fri, 19 Sep 2003 06:14:27 +0000 (06:14 +0000)]
    * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a
        hard-coded constant. Use the proper machine name instead.

21 years ago2003-09-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 19 Sep 2003 03:55:40 +0000 (03:55 +0000)]
2003-09-18  H.J. Lu  <hongjiu.lu@intel.com>

* acinclude.m4: Include ../config/accross.m4.
* aclocal.m4: Regenerated.

* configure.host (HOST_64BIT_TYPE): Remove if it is set to long
or long long.
(HOST_U_64BIT_TYPE): Remove if it is set to unsigned long long.
(host64): Remove if HOST_64BIT_TYPE is set to long.

* configure.in (HOST_64BIT_TYPE): Set according to the size of
long and long long.
(HOST_U_64BIT_TYPE): Likewise.
(host64): Likewise.
* configure: Regenerated.

21 years ago * elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note)
Alan Modra [Fri, 19 Sep 2003 02:08:35 +0000 (02:08 +0000)]
* elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note)
since some ABIs round up the size of the struct.

21 years agodaily update
Alan Modra [Fri, 19 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 19 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-09-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 18 Sep 2003 22:39:21 +0000 (22:39 +0000)]
2003-09-17  Andrew Cagney  <cagney@redhat.com>

* sparc-tdep.c (legacy_register_name): Delete function.
* mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME.
(mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments.
* infcmd.c (gdb_register_name): Delete variable.
* gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to
REGISTER_NAME and "tm.h".
* gdbarch.h, gdbarch.c: Regenerate.
* dpx2-nat.c (regmap): Refer to REGISTER_NAME and not
REGISTER_NAMES in comments.
* remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto.
* m68klinux-nat.c (regmap): Ditto.

2003-09-18  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
documentation on REGISTER_NAMES.

21 years ago2003-09-18 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 18 Sep 2003 19:01:46 +0000 (19:01 +0000)]
2003-09-18  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_merge_symbol): Allow type change if
the old symbol is undefined and the new symbol is defined.

21 years ago * simple.c (bfd_simple_get_relocated_section_contents): Use
Andreas Schwab [Thu, 18 Sep 2003 09:10:41 +0000 (09:10 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Use
_bfd_generic_link_hash_table_create instead of
bfd_link_hash_table_create.

21 years ago * config/tc-mips.c (macro_build_ldst_constoffset): Don't silently
Thiemo Seufer [Thu, 18 Sep 2003 05:20:04 +0000 (05:20 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset): Don't silently
truncate values which won't fit im 32 bits.
(load_register): Likewise.
(macro): Likewise.

21 years ago2003-09-17 Michael Chastain <mec@shout.net>
Michael Chastain [Thu, 18 Sep 2003 00:04:39 +0000 (00:04 +0000)]
2003-09-17  Michael Chastain  <mec@shout.net>

* gdb.cp/gdb1355.exp: New file.
* gdb.cp/gdb1355.c: New file.

21 years agodaily update
Alan Modra [Thu, 18 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 18 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* Makefile.in (dis_asm_h): Note that this #includes "bfd.h".
Jim Blandy [Wed, 17 Sep 2003 21:34:29 +0000 (21:34 +0000)]
* Makefile.in (dis_asm_h): Note that this #includes "bfd.h".

21 years agoFix ChangeLog entry to read 'gdb.cp' instead of 'gdb.c++'.
David Carlton [Wed, 17 Sep 2003 20:40:15 +0000 (20:40 +0000)]
Fix ChangeLog entry to read 'gdb.cp' instead of 'gdb.c++'.

21 years ago2003-09-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 17 Sep 2003 20:10:48 +0000 (20:10 +0000)]
2003-09-17  Andrew Cagney  <cagney@redhat.com>

* ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function.
(ppcnbsd_init_abi): Set "use_struct_convention" to
"ppcnbsd_use_struct_convention".

21 years ago * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
Daniel Jacobowitz [Wed, 17 Sep 2003 20:03:04 +0000 (20:03 +0000)]
* configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
quoting.
* configure: Regenerated.

21 years ago* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
Mark Kettenis [Wed, 17 Sep 2003 19:48:42 +0000 (19:48 +0000)]
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
* gdbarch.h, gdbarch.c: Regenerate.
(stabs_argument_has_addr): New architecture method.
* arch-utils.h (default_stabs_argument_has_addr): New prototype.
* arch-utils.c: Include "buildsym.h".
(default_stabs_argument_has_addr): New function.
* stabsread.c (define_symbol): Use stabs_argument_has_addr
instead of DEPRECATED_REG_STRUCT_HAS_ADDR.

21 years ago2003-09-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 17 Sep 2003 15:42:21 +0000 (15:42 +0000)]
2003-09-17  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM.
* gdbarch.h, gdbarch.c: Regenerate.
* core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update.
* regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update.
* sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update.
* sparcnbsd-tdep.c: Update.

21 years ago2003-09-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 17 Sep 2003 14:24:31 +0000 (14:24 +0000)]
2003-09-17  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE.
* gdbarch.h, gdbarch.c: Regenerate.
* arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update.
* d10v-tdep.c, frame.c: Update.
* hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update.
* hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update.
* ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update.
* mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update.
* mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update.
* ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update.
* remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update.
* remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update.
* sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update.
* v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update.
* config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update.
* config/pa/nm-hppah.h: Update.

2003-09-17  Andrew Cagney  <cagney@redhat.com>

* mi/mi-main.c: Rename REGISTER_BYTE to DEPRECATED_REGISTER_BYTE.

21 years ago * config/tc-msp430.c (MAX_OP_LEN): Set to 256.
Alan Modra [Wed, 17 Sep 2003 11:27:39 +0000 (11:27 +0000)]
* config/tc-msp430.c (MAX_OP_LEN): Set to 256.
(msp430_operands): Remove redundant l2[16] within switch-case.

21 years ago*** empty log message ***
gdbadmin [Wed, 17 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 17 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-09-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 16 Sep 2003 23:33:17 +0000 (23:33 +0000)]
2003-09-16  Andrew Cagney  <cagney@redhat.com>

* ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit
"use_struct_convention" to "ppc_linux_use_struct_convention".
(ppc_linux_use_struct_convention): New function.
* rs6000-tdep.c (rs6000_use_struct_convention): New function.
(rs6000_gdbarch_init): For AIX, set "use_struct_convention" to
"rs6000_use_struct_convention".
* ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete
declaration.
* ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention):
Delete function.

21 years ago2003-09-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 16 Sep 2003 18:56:35 +0000 (18:56 +0000)]
2003-09-16  Andrew Cagney  <cagney@redhat.com>

* buildsym.c: Remove more occurances of "register".
* coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto.
* environ.c, eval.c, f-valprint.c, findvar.c: Ditto.
* gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto.
* infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto.
* printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto.
* sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto.
* standalone.c, symfile.c, symmisc.c, symtab.c: Ditto.
* utils.c, valops.c, values.c, xcoffread.c: Ditto.

21 years ago * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register
Corinna Vinschen [Tue, 16 Sep 2003 15:56:03 +0000 (15:56 +0000)]
* sh-tdep.h (struct gdbarch_tdep): Remove.  Change all register
numbers to enumeration values.
* sh-tdep.c: Accomodate above change.
(SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS.
(NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only).
(NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only).
(IS_ADD_IMM_SP): Rename from IS_ADD_SP.
(IS_FPUSH): Rename from IS_FMOV.
(sh_extract_struct_value_address): Remove useless comment.
(sh_dsp_register_sim_regno): Use register values from sh-tdep.h
instead of own local values.
(sh_dump_tdep): Remove.
(_initialize_sh_tdep): Accomodate removing sh_dump_tdep.
* sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes.

21 years agoIndex: include/ChangeLog
Andrew Cagney [Tue, 16 Sep 2003 01:47:54 +0000 (01:47 +0000)]
Index: include/ChangeLog
2003-09-15  Andrew Cagney  <cagney@redhat.com>

* floatformat.h (floatformat_to_double): Make input buffer constant.
(floatformat_from_double, floatformat_is_valid): Ditto.

Index: libiberty/ChangeLog
2003-09-15  Andrew Cagney  <cagney@redhat.com>

* floatformat.c (get_field): Make "data" constant.
(floatformat_is_valid, floatformat_to_double): Make "from"
constant, fix casts.
(floatformat_from_double): Make "from" constant.

21 years ago * configure.in: Handle arm-*-rtems* and thumb-*rtems*.
Alan Modra [Tue, 16 Sep 2003 00:45:49 +0000 (00:45 +0000)]
* configure.in: Handle arm-*-rtems* and thumb-*rtems*.
* configure: Regenerate.

21 years agodaily update
Alan Modra [Tue, 16 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 16 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-09-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 15 Sep 2003 21:33:44 +0000 (21:33 +0000)]
2003-09-15  Andrew Cagney  <cagney@redhat.com>

* doublest.c (convert_floatformat_to_doublest): No longer need to
cast "exp_bias" to an int.  Reverts 2002-12-04 change.

21 years ago2003-09-15 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 15 Sep 2003 21:28:56 +0000 (21:28 +0000)]
2003-09-15  Andrew Cagney  <cagney@redhat.com>

* floatformat.h (struct floatformat): Make "exp_bias" signed.

21 years ago * values.c (unpack_double): Call floatformat_is_valid.
Daniel Jacobowitz [Mon, 15 Sep 2003 20:15:19 +0000 (20:15 +0000)]
* values.c (unpack_double): Call floatformat_is_valid.

21 years ago * floatformat.c (floatformat_is_valid): New function.
Daniel Jacobowitz [Mon, 15 Sep 2003 20:14:39 +0000 (20:14 +0000)]
* floatformat.c (floatformat_is_valid): New function.
(get_field, put_field): Correct comments.

21 years ago * floatformat.h (floatformat_is_valid): Add prototype.
Daniel Jacobowitz [Mon, 15 Sep 2003 20:13:45 +0000 (20:13 +0000)]
* floatformat.h (floatformat_is_valid): Add prototype.

21 years ago* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
Mark Kettenis [Mon, 15 Sep 2003 20:05:17 +0000 (20:05 +0000)]
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
ps_strings into a long.

21 years ago* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from
Mark Kettenis [Mon, 15 Sep 2003 19:30:50 +0000 (19:30 +0000)]
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from
_initialize_am64fbsd_nat.

* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
(stabs_argument_has_addr): New architecture method.
* arch-utils.h (default_stabs_argument_has_addr): New prototype.
* arch-utils.c: Include "buildsym.h".
(default_stabs_argument_has_addr): New function.
* stabsread.c (define_symbol): Use stabs_argument_has_addr
instead of DEPRECATED_REG_STRUCT_HAS_ADDR.

21 years ago * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset
Kevin Buettner [Mon, 15 Sep 2003 17:19:23 +0000 (17:19 +0000)]
* dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset
associated with DW_AT_ranges attribute is out of bounds.

21 years ago2003-09-15 David Lecomber <dsl@sources.redhat.com>
David Lecomber [Mon, 15 Sep 2003 15:14:12 +0000 (15:14 +0000)]
2003-09-15  David Lecomber  <dsl@sources.redhat.com>

* f-valprint.c: Apply array element printing limits to multi-dimensional arrays

21 years agoFix C90 conversion
Anthony Green [Mon, 15 Sep 2003 14:40:44 +0000 (14:40 +0000)]
Fix C90 conversion

21 years ago * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
Corinna Vinschen [Mon, 15 Sep 2003 09:52:56 +0000 (09:52 +0000)]
* gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
* gdb.asm/sh.inc: New file.

21 years ago2003-09-14 Michael Chastain <mec@shout.net>
Michael Chastain [Mon, 15 Sep 2003 02:53:03 +0000 (02:53 +0000)]
2003-09-14  Michael Chastain  <mec@shout.net>

* config/m68k/nm-apollo68v.h: Delete.
* config/m68k/xm-apollo68v.h: Delete.

21 years ago*** empty log message ***
gdbadmin [Mon, 15 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 15 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update