platform/upstream/binutils.git
19 years ago* dwarf2-frame.c (read_encoded_value): Correctly calculate number
Mark Kettenis [Sat, 20 Nov 2004 10:10:17 +0000 (10:10 +0000)]
* dwarf2-frame.c (read_encoded_value): Correctly calculate number
of bytes read for aligned LEB128 encodings.

19 years agomerge from gcc
DJ Delorie [Sat, 20 Nov 2004 03:00:47 +0000 (03:00 +0000)]
merge from gcc

19 years ago*** empty log message ***
gdbadmin [Sat, 20 Nov 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 19 Nov 2004 23:00:08 +0000 (23:00 +0000)]
daily update

19 years ago* bsd-kvm.c (bsd_kvm_pcb_cmd): Cast return value from
Mark Kettenis [Fri, 19 Nov 2004 21:55:24 +0000 (21:55 +0000)]
* bsd-kvm.c (bsd_kvm_pcb_cmd): Cast return value from
parse_and_eval_address to u_long before converting it to a pointer
type.
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Change type of
ps_strings from int to u_long.
* i386obsd-nat.c (_initialize_i386obsd_nat): Cast _ps.val to
u_long instead of CORE_ADDR.

19 years ago * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
Mark Mitchell [Fri, 19 Nov 2004 19:28:40 +0000 (19:28 +0000)]
* Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
(earmelf_linux_eabi.c): New target.
* configure.tgt (arm*-*-linux-gnueabi): Handle it.
* emulparams/armelf_linux_eabi.sh: New file.
* Makefile.in: Regenerated.

19 years ago * or32-opc.c (debug): Warning fix.
Alan Modra [Fri, 19 Nov 2004 12:38:56 +0000 (12:38 +0000)]
* or32-opc.c (debug): Warning fix.
* po/POTFILES.in: Regenerate.

19 years ago * maxq-dis.c: Formatting.
Alan Modra [Fri, 19 Nov 2004 12:34:13 +0000 (12:34 +0000)]
* maxq-dis.c: Formatting.
(print_insn): Warning fix.

19 years agoinclude/opcode/
Alan Modra [Fri, 19 Nov 2004 12:28:03 +0000 (12:28 +0000)]
include/opcode/
* msp430.h (struct rcodes_s, MSP430_RLC, msp430_rcodes,
struct hcodes_s, msp430_hcodes): Move to gas/config/tc-msp430.c.
gas/
* config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes,
struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.

19 years ago * config/obj-coff.c (c_dot_file_symbol): Add "app" param.
Alan Modra [Fri, 19 Nov 2004 12:20:25 +0000 (12:20 +0000)]
* config/obj-coff.c (c_dot_file_symbol): Add "app" param.
(coff_adjust_symtab): Adjust call.
(crawl_symbols): Likewise.
* config/obj-coff.h (c_dot_file_symbol): Add "app" param.
(obj_app_file): Adjust.

19 years ago * elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix.
Alan Modra [Fri, 19 Nov 2004 11:58:02 +0000 (11:58 +0000)]
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix.
* elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl.
* nlmcode.h (nlm_write_object_contents): Warning fix.

19 years agoPR 518
Nick Clifton [Fri, 19 Nov 2004 09:38:04 +0000 (09:38 +0000)]
PR 518
Update the descriptions of the ORIGIN and LENGTH fields in the MEMORY command,
to explicitly state that symbols cannot be used in their expressions.

19 years agoAdd ORIGIN and LENGTH linker script operators.
Nick Clifton [Fri, 19 Nov 2004 09:31:55 +0000 (09:31 +0000)]
Add ORIGIN and LENGTH linker script operators.

19 years ago * elf32-xtensa.c (ebb_propose_action): Fix argument order.
Bob Wilson [Fri, 19 Nov 2004 00:28:58 +0000 (00:28 +0000)]
* elf32-xtensa.c (ebb_propose_action): Fix argument order.

19 years ago*** empty log message ***
gdbadmin [Fri, 19 Nov 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Thu, 18 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update

19 years ago* dbxread.c (process_one_symbol): Do not adjust address of first
Mark Kettenis [Thu, 18 Nov 2004 22:37:22 +0000 (22:37 +0000)]
* dbxread.c (process_one_symbol): Do not adjust address of first
N_SLINE stab for a function for code generated by non-GCC
compilers.

19 years ago * solib-null.c: New file.
Kevin Buettner [Thu, 18 Nov 2004 17:23:05 +0000 (17:23 +0000)]
* solib-null.c: New file.

19 years agoEnable bfd_assembler by default for the MAXQ port.
Nick Clifton [Thu, 18 Nov 2004 16:20:11 +0000 (16:20 +0000)]
Enable bfd_assembler by default for the MAXQ port.
Adjust the testsuite expected disassemblies to take this into account.

19 years agoIn last change: macros not rules.
Richard Earnshaw [Thu, 18 Nov 2004 10:56:28 +0000 (10:56 +0000)]
In last change: macros not rules.

19 years ago* Make-common.in (sim-*_h): Add rules for all sim headers. Also
Richard Earnshaw [Thu, 18 Nov 2004 10:21:39 +0000 (10:21 +0000)]
* Make-common.in (sim-*_h): Add rules for all sim headers.  Also
add sub-dependencies for other sim files that they include.
(sim_main_headers): Use sim-*_h rules.
(sim-load.o): Depend on sim-basics_h, not sim_main_headers.

19 years ago2004-11-17 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Thu, 18 Nov 2004 00:16:33 +0000 (00:16 +0000)]
2004-11-17  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Drop MIPS and remote.

19 years ago*** empty log message ***
gdbadmin [Thu, 18 Nov 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Wed, 17 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agobfd/
Daniel Jacobowitz [Wed, 17 Nov 2004 17:50:28 +0000 (17:50 +0000)]
bfd/
* elf32-arm.c (PLT_THUMB_STUB_SIZE): Define.
(elf32_arm_plt_thumb_stub): New.
(struct elf32_arm_link_hash_entry): Add plt_thumb_refcount
and plt_got_offset.
(elf32_arm_link_hash_traverse): Fix typo.
(elf32_arm_link_hash_table): Add obfd.
(elf32_arm_link_hash_newfunc): Initialize new fields.
(elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount.
(elf32_arm_link_hash_table_create): Initialize obfd.
(record_arm_to_thumb_glue): Mark the glue as a local ARM function.
(record_thumb_to_arm_glue): Mark the glue as a local Thumb function.
(bfd_elf32_arm_get_bfd_for_interworking): Verify that the
interworking BFD is not dynamic.
(bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32.  Do
not emit glue for PLT references.
(elf32_arm_final_link_relocate): Handle Thumb functions.  Do not
emit glue for PLT references.  Support the Thumb PLT prefix.
(elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and
plt_thumb_refcount.
(elf32_arm_check_relocs): Likewise.
(elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and
plt_thumb_refcount.
(allocate_dynrelocs): Handle Thumb PLT references.
(elf32_arm_finish_dynamic_symbol): Likewise.
(elf32_arm_symbol_processing): New function.
(elf_backend_symbol_processing): Define.
opcodes/
* arm-dis.c (WORD_ADDRESS): Define.
(print_insn): Use it.  Correct big-endian end-of-section handling.
gas/testsuite/
* gas/arm/mapping.d: Expect F markers for Thumb code.
* gas/arm/unwind.d: Update big-endian pattern.
ld/
* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
a dynamic object for stubs.
ld/testsuite/
* ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s,
ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r,
ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld,
ld-arm/arm-lib.ld: New files.
* ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d,
ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r,
ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d,
ld-arm/arm-static-app.r: Update for big-endian.
* ld-arm/arm-elf.exp: Run the new tests.

19 years agoRun the relax test.
Nick Clifton [Wed, 17 Nov 2004 15:31:46 +0000 (15:31 +0000)]
Run the relax test.

19 years ago*** empty log message ***
gdbadmin [Wed, 17 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Tue, 16 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years agoFix consistenco; it's triplets, not triples
Hans-Peter Nilsson [Tue, 16 Nov 2004 16:22:09 +0000 (16:22 +0000)]
Fix consistenco; it's triplets, not triples

19 years ago * lib/sim-defs.exp (run_sim_test): Support "xfail" and "kfail".
Hans-Peter Nilsson [Tue, 16 Nov 2004 16:20:32 +0000 (16:20 +0000)]
* lib/sim-defs.exp (run_sim_test): Support "xfail" and "kfail".

19 years ago * Makefile.in (defines.h): Depend on tmp-defines.
Andreas Schwab [Tue, 16 Nov 2004 10:21:19 +0000 (10:21 +0000)]
* Makefile.in (defines.h): Depend on tmp-defines.
(hw.c hw.h): Depend on tmp-hw.
(pk.h): Depend on tmp-pk.

19 years ago * elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and
Richard Sandiford [Tue, 16 Nov 2004 10:16:30 +0000 (10:16 +0000)]
* elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and
add_fde_encoding.  Remove need_relative.
* elf-eh-frame.c (extra_augmentation_string_bytes)
(extra_augmentation_data_bytes, size_of_output_cie_fde): New functions.
(_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding
in cases where the CIE has no existing 'R' augmentation.  Use
size_of_output_cie_fde when assigning offsets.  Use the final offset
as the new section size.
(_bfd_elf_eh_frame_section_offset): Remove need_relative handling.
Account for any extra augmentation bytes in the returned offset.
(_bfd_elf_write_section_eh_frame): Rework so that the entries are
moved before being modified.  Pad growing entries with DW_CFA_nops.
Add 'z' and 'R' augmentations as directed by add_augmentation_size
and add_fde_encoding.

19 years ago * elf32-arm.c (elf32_arm_relocate_section): Use
Mark Mitchell [Tue, 16 Nov 2004 10:08:00 +0000 (10:08 +0000)]
* elf32-arm.c (elf32_arm_relocate_section): Use
arm_real_reloc_type.

19 years ago * elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early
Richard Sandiford [Tue, 16 Nov 2004 09:54:10 +0000 (09:54 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early
for discard relocations; don't add an R_MIPS_NONE to the main body
of .rel.dyn.

19 years ago * sim-config.c (sim_config): Recognize when a bfd has unspecified
Hans-Peter Nilsson [Tue, 16 Nov 2004 07:16:57 +0000 (07:16 +0000)]
* sim-config.c (sim_config): Recognize when a bfd has unspecified
endian information.

19 years ago * lib/sim-defs.exp (run_sim_test): Make multiple "output"
Hans-Peter Nilsson [Tue, 16 Nov 2004 07:06:17 +0000 (07:06 +0000)]
* lib/sim-defs.exp (run_sim_test): Make multiple "output"
specifications concatenate, not override.

19 years ago * Make-common.in (sim-load.o): Depend on $(sim_main_headers) and
Hans-Peter Nilsson [Tue, 16 Nov 2004 07:02:26 +0000 (07:02 +0000)]
* Make-common.in (sim-load.o): Depend on $(sim_main_headers) and
$(remote_sim_h) too.
(sim_main_headers): Add sim-utils.h.

19 years ago2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
DJ Delorie [Tue, 16 Nov 2004 01:18:39 +0000 (01:18 +0000)]
2004-11-15  Kelley Cook  <kcook@gcc.gnu.org>
* install-sh, compile: Import from automake.
* config.guess, config.sub:  Import from savannnah.

19 years ago*** empty log message ***
gdbadmin [Tue, 16 Nov 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years agobfd/
Paul Brook [Mon, 15 Nov 2004 23:21:27 +0000 (23:21 +0000)]
bfd/
* elf-bfd.h (_bfd_elf_slurp_version_tables): Update prototype.
* elf.c (_bfd_elf_print_private_bfd_data): Pass extra argument.
(_bfd_elf_slurp_version_tables): Add extra argument.  Create extra
default version definition for unversioned symbols.
* elfcode.h (elf_slurp_symbol_table): Pass extra argument.
* elflink.c (elf_link_add_object_symbols): Pass extra argument to
_bfd_elf_slurp_version_tables.  Set default version for unversioned
imported symbols.
include/
* bfdlink.h (bfd_link_info): Add default_imported_symver.
ld/
* ld.texinfo: Document --default-imported-symver.
* ldmain.c (main): Set link_info.default_imported_symver.
* lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
(ld_options): Add --default-imported-symver.
(parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.

19 years agodaily update
Alan Modra [Mon, 15 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

19 years ago2004-11-15 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 15 Nov 2004 22:17:59 +0000 (22:17 +0000)]
2004-11-15  Andrew Cagney  <cagney@gnu.org>

* findvar.c (value_of_register): Set the frame ID.
* value.c (value_primitive_field): Copy the frame ID.
* valops.c (value_assign): Simplify lval_register case, there's
always a frame.

19 years agoAdded quotes around macro arguments so that they will work with newer versions
Nick Clifton [Mon, 15 Nov 2004 14:30:12 +0000 (14:30 +0000)]
Added quotes around macro arguments so that they will work with newer versions
 of guile.

19 years ago * elflink.c (elf_link_add_object_symbols): Don't assume version
Paul Brook [Mon, 15 Nov 2004 12:39:01 +0000 (12:39 +0000)]
* elflink.c (elf_link_add_object_symbols): Don't assume version
indices are consecutive.

19 years ago * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with
Richard Sandiford [Mon, 15 Nov 2004 09:09:13 +0000 (09:09 +0000)]
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Deal with
composite relocations against the personality data.

19 years ago*** empty log message ***
gdbadmin [Mon, 15 Nov 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Sun, 14 Nov 2004 23:00:04 +0000 (23:00 +0000)]
daily update

19 years ago * Makefile.in (mips-linux-tdep.o): Update dependencies.
Daniel Jacobowitz [Sun, 14 Nov 2004 19:29:46 +0000 (19:29 +0000)]
* Makefile.in (mips-linux-tdep.o): Update dependencies.
* mips-linux-tdep.c: Include "regcache.h".
(fill_fpregset, mips64_fill_fpregset): Use regcache_raw_collect.

19 years ago * Makefile.in (linux-thread-db.o): Fix typo in last change.
Daniel Jacobowitz [Sun, 14 Nov 2004 18:53:32 +0000 (18:53 +0000)]
* Makefile.in (linux-thread-db.o): Fix typo in last change.

19 years ago * linux-thread-db.c: New file, renamed from thread-db.c.
Daniel Jacobowitz [Sun, 14 Nov 2004 18:47:52 +0000 (18:47 +0000)]
* linux-thread-db.c: New file, renamed from thread-db.c.
* thread-db.c: Remove.
* Makefile.in (linux-thread-db.o): Rename from thread-db.o rule.
* config/alpha/alpha-linux.mh (NATDEPFILES): Rename thread-db.o
to linux-thread-db.o.
* config/arm/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux.mh (NATDEPFILES): Likewise.
* config/i386/linux64.mh (NATDEPFILES): Likewise.
* config/ia64/linux.mh (NATDEPFILES): Likewise.
* config/m32r/linux.mh (NATDEPFILES): Likewise.
* config/m68k/linux.mh (NATDEPFILES): Likewise.
* config/mips/linux.mh (NATDEPFILES): Likewise.
* config/pa/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/linux.mh (NATDEPFILES): Likewise.
* config/powerpc/ppc64-linux.mh (NATDEPFILES): Likewise.
* config/s390/s390.mh (NATDEPFILES): Likewise.
* config/sparc/linux.mh (NATDEPFILES): Likewise.
* config/sparc/linux64.mh (NATDEPFILES): Likewise.

19 years ago * gdb.threads/threadapply.exp: Correct "macro details" test.
Daniel Jacobowitz [Sun, 14 Nov 2004 18:45:17 +0000 (18:45 +0000)]
* gdb.threads/threadapply.exp: Correct "macro details" test.

19 years ago2004-11-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 14 Nov 2004 03:57:04 +0000 (03:57 +0000)]
2004-11-13  Andrew Cagney  <cagney@gnu.org>

* config/i386/i386lynx.mh: Delete file.
* config/i386/i386lynx.mt: Delete file.
* Makefile.in (ALLDEPFILES, i386ly-tdep.o): Remove i386ly-tdep.c.
* i386ly-tdep.c: Delete.

19 years ago2004-11-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 14 Nov 2004 03:09:26 +0000 (03:09 +0000)]
2004-11-13  Andrew Cagney  <cagney@gnu.org>

* config/tm-lynx.h: Delete, inline contents ...
* config/rs6000/tm-rs6000ly.h: ... here.

19 years ago2004-11-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 14 Nov 2004 02:56:34 +0000 (02:56 +0000)]
2004-11-13  Andrew Cagney  <cagney@gnu.org>

* config/tm-sysv4.h: Delete file, inlining contents.
* config/ia64/tm-aix.h (SKIP_TRAMPOLINE_CODE): Define.
* config/tm-linux.h (SKIP_TRAMPOLINE_CODE): Define.
* config/tm-nto.h (SKIP_TRAMPOLINE_CODE): Define.

19 years ago2004-11-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 14 Nov 2004 01:11:07 +0000 (01:11 +0000)]
2004-11-13  Andrew Cagney  <cagney@gnu.org>

* regcache.h (deprecated_register_valid): Delete.
(deprecated_registers): Delete.
* regcache.c (deprecated_register_valid): Delete.
(deprecated_registers): Delete.
(deprecated_read_register_byte, _initialize_regcache)
(deprecated_write_register_bytes, build_regcache): Update.
* config/powerpc/ppc-sim.mt (TDEPFILES): Remove ppc-bdm.o and
remote-sds.o.
* config/powerpc/ppc-eabi.mt (TDEPFILES): Ditto.
* config/mips/embed.mt (TDEPFILES): Remove remote-mips.o.

19 years ago2004-11-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sun, 14 Nov 2004 00:10:55 +0000 (00:10 +0000)]
2004-11-13  Andrew Cagney  <cagney@gnu.org>

* NEWS: List h8300*-*-*, mcore-*-*, mn10300-*-*, ns32k-*-*, and
v850-*-* under removed.
* configure.host: Delete ns32k-*-netbsd*.
* configure.tgt: Delete h8300-*-*, mcore*-*-*, mn10300-*-*,
ns32k-*-netbsd*, and v850*-*-*.
* MAINTAINERS: Mark h8300, mcore, mn10300, ns32k, v850 as
"Deleted"
* config/h8300/tm-h8300.h, config/h8300/h8300.mt: Delete.
* h8300-tdep.c, config/mcore/mcore.mt, mcore-rom.c: Delete.
* mcore-tdep.c, config/mn10300/mn10300.mt: Delete.
* mn10300-tdep.c, config/ns32k/nbsdaout.mh: Delete.
* config/ns32k/nbsdaout.mt, config/ns32k/nm-nbsd.h: Delete.
* config/ns32k/nm-nbsdaout.h, config/ns32k/tm-ns32k.h: Delete.
* ns32knbsd-nat.c, ns32knbsd-tdep.c, ns32k-tdep.c: Delete.
* ns32k-tdep.h, config/v850/v850.mt, v850ice.c: Delete.
* v850-tdep.c: Delete.

19 years ago*** empty log message ***
gdbadmin [Sun, 14 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * irix5-nat.c (fetch_core_registers): Replace use of
Joel Brobecker [Sat, 13 Nov 2004 23:49:31 +0000 (23:49 +0000)]
    * irix5-nat.c (fetch_core_registers): Replace use of
        deprecated_registers by equivalent code.

19 years ago * irix5-nat.c (fill_gregset): Replace use of deprecated_registers
Joel Brobecker [Sat, 13 Nov 2004 23:40:01 +0000 (23:40 +0000)]
    * irix5-nat.c (fill_gregset): Replace use of deprecated_registers
        with equivalent code.
        (fill_fpregset): Likewise.

19 years ago2004-11-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 13 Nov 2004 23:20:15 +0000 (23:20 +0000)]
2004-11-13  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Do not list "Deleted" architectures.

19 years ago2004-11-13 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 13 Nov 2004 23:10:02 +0000 (23:10 +0000)]
2004-11-13  Andrew Cagney  <cagney@gnu.org>

* configure.tgt: Delete i[34567]86-*-vxworks*, m68*-netx-*,
m68*-*-vxworks*, mips*-*-vxworks*, powerpc-*-vxworks*, and
sparc-*-vxworks*.
* NEWS: Mention that vxworks was deleted.
* config/m68k/tm-vx68.h, config/mips/tm-vxmips.h: Delete.
* config/powerpc/tm-vxworks.h, config/tm-vxworks.h: Delete.
* config/i386/vxworks.mt, config/m68k/vxworks68.mt: Delete.
* config/mips/vxmips.mt, config/powerpc/vxworks.mt: Delete.
* config/sparc/vxworks.mt, vx-share/dbgRpcLib.h: Delete.
* vx-share/ptrace.h, vx-share/regPacket.h: Delete.
* vx-share/vxTypes.h, vx-share/vxWorks.h: Delete.
* vx-share/wait.h, vx-share/xdr_ld.c: Delete.
* vx-share/xdr_ld.h, vx-share/xdr_ptrace.c: Delete.
* vx-share/xdr_ptrace.h, vx-share/xdr_rdb.c: Delete.
* vx-share/xdr_rdb.h, remote-vxsparc.c: Delete.
* remote-vxmips.c, remote-vx.c: Delete.
* remote-vx68.c: Delete.
* config/m68k/tm-os68k.h: Remove reference to VxWorks.
* config/m68k/os68k.mt, ada-lang.h: Ditto.
* Makefile.in (HFILES_NO_SRCDIR, ALLDEPFILES, remote-vx68.o)
(remote-vx.o, remote-vxmips.o, remote-vxsparc.o): Delete vx files.

19 years agodaily update
Alan Modra [Sat, 13 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agomerge from gcc
DJ Delorie [Sat, 13 Nov 2004 18:03:59 +0000 (18:03 +0000)]
merge from gcc

19 years ago * Makefile.def: Add html support.
Mike Stump [Sat, 13 Nov 2004 17:42:50 +0000 (17:42 +0000)]
    * Makefile.def: Add html support.
        * Makefile.tpl: Likewise.
        * Makefile.in: Regenerate.

19 years ago * config/i386/xm-go32.h: Don't include fopen-bin.h.
Eli Zaretskii [Sat, 13 Nov 2004 17:00:04 +0000 (17:00 +0000)]
* config/i386/xm-go32.h: Don't include fopen-bin.h.
Don't define CRLF_SOURCE_FILES and DIRNAME_SEPARATOR.

* source.c (OPEN_MODE, FDOPEN_MODE): Remove the definitions in the
branch that doesn't define CRLF_SOURCE_FILES; always use
binary-mode open.
(print_source_lines_base, forward_search_command)
(reverse_search_command): Enable the code that accepts DOS-style
CRLF line endings on all platforms (this removes the need for
CRLF_SOURCE_FILES).

* defs.h: (DIRNAME_SEPARATOR) [__MSDOS__]: Define to ';'.

19 years agomerge from gcc
DJ Delorie [Sat, 13 Nov 2004 15:48:36 +0000 (15:48 +0000)]
merge from gcc

19 years ago*** empty log message ***
Eli Zaretskii [Sat, 13 Nov 2004 15:29:40 +0000 (15:29 +0000)]
*** empty log message ***

19 years ago * defs.h: Fix wording of the comment before FOPEN_RB.
Eli Zaretskii [Sat, 13 Nov 2004 15:28:50 +0000 (15:28 +0000)]
* defs.h: Fix wording of the comment before FOPEN_RB.

19 years ago * bfd/elf32-arm.c (elf32_arm_final_link_relocate): Resolve
Paul Brook [Sat, 13 Nov 2004 13:38:15 +0000 (13:38 +0000)]
* bfd/elf32-arm.c (elf32_arm_final_link_relocate): Resolve
R_ARM_PREL31 relocations to PLT entries.
(elf32_arm_relocate_section, elf32_arm_gc_sweep_hook): Ditto.
(elf32_arm_check_relocs): Ditto.

19 years agoFix DJGPP configury due to some bitrot:
Eli Zaretskii [Sat, 13 Nov 2004 13:36:53 +0000 (13:36 +0000)]
Fix DJGPP configury due to some bitrot:

* config/djgpp/fnchange.lst: Group renames for opcode directory
together.

* config/djgpp/djconfig.sh: Replace file names that don't exist
anymore with existing files, for checking the unpacked
distribution.

* config/djgpp/config.sed (am_cv_exeext, lt_cv_sys_max_cmd_len):
Export pre-cooked values in configure-* targets that begin with
"@test -f stage_last".

19 years ago2004-11-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 13 Nov 2004 02:29:48 +0000 (02:29 +0000)]
2004-11-12  Andrew Cagney  <cagney@gnu.org>

* defs.h (enum lval_type): Delete lval_reg_frame_relative.
* value.h (struct value): Update comment.
* valops.c (value_assign): Fold lval_reg_fame_relative into
lval_register.
* findvar.c (value_from_register, locate_var_value): Ditto.

19 years ago2004-11-12 Randolph Chung <tausq@debian.org>
Randolph Chung [Sat, 13 Nov 2004 02:27:41 +0000 (02:27 +0000)]
2004-11-12  Randolph Chung  <tausq@debian.org>

* config/tm/tm-hppa.h (SYMBOLS_CAN_START_WITH_DOLLAR): Remove.
* parse.c (SYMBOLS_CAN_START_WITH_DOLLAR): Remove.
(write_exp_msymbol): Remove conditional check for symbols starting
with $.  Update comments.

19 years ago2004-11-12 Randolph Chung <tausq@debian.org>
Randolph Chung [Sat, 13 Nov 2004 02:24:34 +0000 (02:24 +0000)]
2004-11-12  Randolph Chung  <tausq@debian.org>

* pa64solib.c (pa64_solib_thread_start_addr): Rename from
so_lib_thread_start_addr.
* pa64solib.h (so_list): Forward declare.
(pa64_solib_thread_start_addr): Prototype.
* somsolib.c (SHL_LOAD, SHL_UNLOAD): Define if not already defined.
(no_shared_libraries): Remove.
(som_solib_thread_start_addr): Rename from so_lib_thread_start_addr.
* somsolib.h (som_solib_thread_start_addr): Likewise; prototype.
* hpread.c (hpread_process_one_debug_symbol): Use either the som or
the elf solib handler to find the start address.

* config/pa/hppahpux.mh (NATDEPFILES): Move target-specific support
files to the target makefile.
* config/pa/hpux1020.mh (NATDEPFILES):  Likewise.
* config/pa/hpux11.mh (NATDEPFILES): Likewise.
* config/pa/hpux11w.mh (NATDEPFILES): Likewise.

* config/pa/hppa64.mt (TDEPFILES): Put target-specific support
files for symbol reading and shared library handling here.
* config/pa/hppahpux.mt (TDEPFILES): Likewise.
(PA_SOM_ONLY): Define so we can build a 32-bit SOM only target
without bringing in 64-bit support.

19 years ago2004-11-12 Randolph Chung <tausq@debian.org>
Randolph Chung [Sat, 13 Nov 2004 02:19:03 +0000 (02:19 +0000)]
2004-11-12  Randolph Chung  <tausq@debian.org>

* pa64solib.c (pa64_solib_thread_start_addr): Rename from
so_lib_thread_start_addr.
* pa64solib.h (so_list): Forward declare.
(pa64_solib_thread_start_addr): Prototype.
* somsolib.c (SHL_LOAD, SHL_UNLOAD): Define if not already defined.
(no_shared_libraries): Remove.
(som_solib_thread_start_addr): Rename from so_lib_thread_start_addr.
* somsolib.h (som_solib_thread_start_addr): Likewise; prototype.
* hpread.c (hpread_process_one_debug_symbol): Use either the som or
the elf solib handler to find the start address.

* config/pa/hppahpux.mh (NATDEPFILES): Move target-specific support
files to the target makefile.
* config/pa/hpux1020.mh (NATDEPFILES):  Likewise.
* config/pa/hpux11.mh (NATDEPFILES): Likewise.
* config/pa/hpux11w.mh (NATDEPFILES): Likewise.

* config/pa/hppa64.mt (TDEPFILES): Put target-specific support
    files for symbol reading and shared library handling here.
* config/pa/hppahpux.mt (TDEPFILES): Likewise.
    (PA_SOM_ONLY): Define so we can build a 32-bit SOM only target
    without bringing in 64-bit support.

19 years ago2004-11-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 13 Nov 2004 02:15:33 +0000 (02:15 +0000)]
2004-11-12  Andrew Cagney  <cagney@gnu.org>

* sparc-tdep.c: Replace VALUE_TYPE with value_type.
* v850-tdep.c, sparc64-tdep.c, sh-tdep.c: Ditto.
* sh64-tdep.c, s390-tdep.c, mcore-tdep.c: Ditto.
* h8300-tdep.c, arm-linux-tdep.c, amd64-tdep.c: Ditto.
* hppa-tdep.c, mips-tdep.c, m88k-tdep.c: Ditto.
* m68hc11-tdep.c, m32r-tdep.c, ia64-tdep.c: Ditto.
* frv-tdep.c, cris-tdep.c, avr-tdep.c, alpha-tdep.c: Ditto.

19 years ago2004-11-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Sat, 13 Nov 2004 00:53:09 +0000 (00:53 +0000)]
2004-11-12  Andrew Cagney  <cagney@gnu.org>

Merge VALUE_REGNO and VALUE_FRAME_REGNUM into VALUE_REGNUM.
* value.h (VALUE_REGNO, VALUE_FRAME_REGNUM): Delete.
(VALUE_REGNUM): Define.
(struct value): Delete location.regnum, rename "regno" to
"regnum".
* value.c, valops.c, valarith.c, findvar.c: Update.

19 years ago*** empty log message ***
gdbadmin [Sat, 13 Nov 2004 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
Alan Modra [Fri, 12 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agoAdd Sterling Augustine to previous entry (credit where it's due)
Bob Wilson [Fri, 12 Nov 2004 22:17:53 +0000 (22:17 +0000)]
Add Sterling Augustine to previous entry (credit where it's due)

19 years ago2004-11-12 Bob Wilson <bob.wilson@acm.org>
Bob Wilson [Fri, 12 Nov 2004 21:59:13 +0000 (21:59 +0000)]
2004-11-12  Bob Wilson  <bob.wilson@acm.org>

include/ChangeLog
* xtensa-isa-internal.h (xtensa_interface_internal): Add class_id.
* xtensa-isa.h (xtensa_interface_class_id): New prototype.

bfd/ChangeLog
* xtensa-isa.c (xtensa_interface_class_id): New.

gas/ChangeLog
* config/tc-xtensa.c (finish_vinsn): Clear pending instruction if
there is a conflict.
(check_t1_t2_reads_and_writes): Check for both reads and writes to
interfaces that are related as determined by xtensa_interface_class_id.

19 years ago2004-11-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 12 Nov 2004 21:45:08 +0000 (21:45 +0000)]
2004-11-12  Andrew Cagney  <cagney@gnu.org>

* value.h (VALUE_TYPE, VALUE_NEXT, VALUE_OFFSET, VALUE_BITSIZE)
(VALUE_BITPOS): Delete.
(value_type, value_offset, value_bitsize, value_bitpos): Declare.
* value.c (value_type, value_offset, value_bitpos)
(value_bitsize): New functions.  Update references.
* arm-tdep.c, gnu-v3-abi.c, hpacc-abi.c, gnu-v2-abi.c: Update.
* f-valprint.c, cp-valprint.c, c-valprint.c: Update.
* ada-valprint.c, typeprint.c, scm-valprint.c, scm-exp.c: Update.
* p-valprint.c, jv-valprint.c, jv-lang.c, varobj.c: Update.
* objc-lang.c, ada-lang.c, std-regs.c, stack.c: Update.
* infcall.c, linespec.c, printcmd.c, valarith.c: Update.
* valops.c, eval.c, findvar.c, breakpoint.c: Update.
* tracepoint.c, ax-gdb.c, mi/mi-main.c, cli/cli-dump.c:
* rs6000-tdep.c, ppc-sysv-tdep.c: Update.

19 years ago PR 18423
Geoffrey Keating [Fri, 12 Nov 2004 19:38:13 +0000 (19:38 +0000)]
PR 18423
* configure.in: Remove all instances of build-fixincludes from
noconfigdirs.
(build_configargs): Supply --target to subdirectories.
* configure: Regenerate.

* Makefile.def: Make gcc install depend on fixincludes install.
* Makefile.in: Regenerate.

19 years ago2004-11-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 12 Nov 2004 19:22:09 +0000 (19:22 +0000)]
2004-11-12  Andrew Cagney  <cagney@gnu.org>

* cris-tdep.c (cris_register_offset): Delete, never called.
(cris_spec_reg_applicable): Delete cris_ver_sim.
* MAINTAINERS: List d10v as OBSOLETE.
* rdi-share/host.h (FOPEN_WB): #ifdef 0 out definitions of
FOPEN_WB et.al., defined by "fopen-bin.h".

19 years ago2004-11-12 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 12 Nov 2004 18:38:34 +0000 (18:38 +0000)]
2004-11-12  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_skip_permanent_breakpoint): Move definition ...
* hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): ... to here.
* config/pa/tm-hppa.h (SKIP_PERMANENT_BREAKPOINT): Move definition ...
* config/pa/tm-hppah.h (SKIP_PERMANENT_BREAKPOINT): ... to here.

19 years ago2004-11-12 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Fri, 12 Nov 2004 16:45:32 +0000 (16:45 +0000)]
2004-11-12  Andrew Cagney  <cagney@gnu.org>

* d30v, fr30, mn10200, z8k: Delete directory.

19 years ago* tui/tui-io.c: Don't include "terminal.h".
Mark Kettenis [Fri, 12 Nov 2004 16:07:20 +0000 (16:07 +0000)]
* tui/tui-io.c: Don't include "terminal.h".
* Makefile.in (tui-io.o): Update dependencies.

19 years agoFix off by one negative offsets for conditional branches.
Nick Clifton [Fri, 12 Nov 2004 12:27:05 +0000 (12:27 +0000)]
Fix off by one negative offsets for conditional branches.
Add a test of this fix.

19 years ago2004-11-12 Kei Sakamoto <sakamoto.kei@renesas.com>
Kazuhiro Inaoka [Fri, 12 Nov 2004 01:00:41 +0000 (01:00 +0000)]
2004-11-12  Kei Sakamoto  <sakamoto.kei@renesas.com>

* Makefile.in (m32r-linux-tdep.o): Update dependencies.
* m32r-linux-tdep.c (m32r_linux_init_abi): Call
set_gdbarch_regset_from_core_section for core file support.
(m32r_linux_supply_gregset, m32r_linux_regset_from_core_section):
New functions.

19 years ago2004-11-11 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 12 Nov 2004 00:51:23 +0000 (00:51 +0000)]
2004-11-11  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (skip_prologue_hard_way): Make static, add
stop_after_branch parameter and use it to determine if we should look
at the delay slot of the first branch insn to find prologue insns.
(hppa_skip_prologue): Update comment and call to skip_prologue_hard_way.
(hppa_frame_cache): Likewise.

19 years ago2004-11-11 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 12 Nov 2004 00:48:12 +0000 (00:48 +0000)]
2004-11-11  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa_frame_cache): Properly handle the frame pointer
register so that it can be unwound from anywhere in the prologue.

19 years ago*** empty log message ***
gdbadmin [Fri, 12 Nov 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago * elf32-xtensa.c (property_table_compare): Remove assertion about
Bob Wilson [Thu, 11 Nov 2004 23:09:24 +0000 (23:09 +0000)]
* elf32-xtensa.c (property_table_compare): Remove assertion about
entries with the same address and non-zero size.
(xtensa_read_table_entries): Report such entries as errors.

19 years agodaily update
Alan Modra [Thu, 11 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

19 years agosim/erc32:
Andreas Schwab [Thu, 11 Nov 2004 21:58:57 +0000 (21:58 +0000)]
sim/erc32:
* interf.c: Include "libiberty.h" instead of declaring buildargv
ourselves.

sim/ppc:
* sim_calls.c: Include "libiberty.h".

19 years ago2004-11-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 11 Nov 2004 21:37:24 +0000 (21:37 +0000)]
2004-11-11  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.threads/threadapply.exp: New test.
        * gdb.threads/threadapply.c: New file.

19 years agomention who committed Jon's patch.
Andrew Cagney [Thu, 11 Nov 2004 20:27:58 +0000 (20:27 +0000)]
mention who committed Jon's patch.

19 years ago2004-11-10 msnyder <msnyder@redhat.com>
Michael Snyder [Thu, 11 Nov 2004 19:21:01 +0000 (19:21 +0000)]
2004-11-10  msnyder  <msnyder@redhat.com>

* rs6000-tdep.c (skip_prologue): After saving lr_offset,
must invalidate lr_reg (so we don't try to save it again).
Ditto for cr_offset and cr_reg.

19 years agogas/
Bob Wilson [Thu, 11 Nov 2004 19:05:43 +0000 (19:05 +0000)]
gas/
        * config/tc-xtensa.c (MAX_IMMED6): Change value to 65.
gas/testsuite/
        * gas/xtensa/short_branch_offset.s: New.
        * gas/xtensa/short_branch_offset.d: New.
        * gas/xtensa/all.exp: Run new test.

19 years ago2004-11-05 Jon Beniston <jon@beniston.com>
Andrew Cagney [Thu, 11 Nov 2004 18:59:39 +0000 (18:59 +0000)]
2004-11-05  Jon Beniston <jon@beniston.com>

* remote.c (putpkt_binary) Fix PR gdb/1806. Send an ACK
when an unexpected packet is received, as the target stubs
continually retransmit the same packet until ACKed.

19 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Correct logic for
Mark Mitchell [Thu, 11 Nov 2004 18:24:24 +0000 (18:24 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Correct logic for
R_ARM_RELATIVE on Symbian OS.