Commit Graph

32631 Commits

Author SHA1 Message Date
Alan Modra 2b0bef82f2 * configure.in (mips-dec-netbsd*): Delete.
* configure: Regenerate.
2001-12-20 05:39:36 +00:00
Alan Modra 3cb60568f1 * config.bfd (mips-dec-netbsd*): Delete alias for mips*el-*-netbsd*. 2001-12-20 05:38:52 +00:00
Jim Blandy 4e40929968 * gdbarch.sh (TARGET_CHAR_SIGNED): New macro.
* gdbarch.c, gdbarch.h: Regenerated.
* gdbtypes.c (build_gdbtypes): If TARGET_CHAR_SIGNED is zero,
set the TYPE_FLAG_UNSIGNED bit on the type.
* s390-tdep.c (s390_gdbarch_init): On the S/390, characters
are unsigned by default.
* rs6000-tdep.c (rs6000_gdbarch_init): Same for PowerPC and
RS6000.
2001-12-20 03:26:08 +00:00
Alan Modra 3695c2997d * configure.tgt (arm-*-netbsdelf*): Add target.
(arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls.
	* emulparams/armelf_nbsd.sh: Added.
	* Makefile.am: Add rules for earmelf_nbsd.
	* Makefile.in: Regenerate.
2001-12-20 03:19:43 +00:00
Alan Modra 8bdcf8ca4d * configure.in (arm-*-netbsdelf*): Add target.
* configure: Regenerate.
2001-12-20 03:19:03 +00:00
Alan Modra 61d0bc3328 * config.bfd (arm-*-netbsdelf*): Add target.
* configure.in: Include netbsd-core.lo for native arm-*-netbsd*.
	* configure: Regenerate.
2001-12-20 03:18:23 +00:00
gdbadmin afcca5a5ea *** empty log message *** 2001-12-20 00:00:32 +00:00
Elena Zannoni 16a0f3e75e 2001-12-19 Elena Zannoni <ezannoni@redhat.com>
* corefile.c (do_captured_read_memory_integer,
        safe_read_memory_integer): New functions.
        * gdbcore.h (safe_read_memory_integer): Export.
        * arm-tdep.c (arm_scan_prologue): Use safe_read_memory_integer,
        to read the frame value, to capture calls to error().
2001-12-19 23:54:27 +00:00
Alan Modra 47a7090184 * elfcode.h (elf_slurp_symbol_table): Test elf_elfsections for NULL,
as can happen with a core file, before dereferencing.
2001-12-19 23:54:26 +00:00
Jim Blandy b09677dcf8 * s390-tdep.c (s390_register_name): S390_LAST_REGNUM is, in fact,
the last register number, not one greater than the last register
number.

* s390-tdep.c (s390_register_virtual_type): Replace clever but
incorrect range comparison with correct, legible equivalent.
2001-12-19 23:07:53 +00:00
Alan Modra 59aec90c27 daily update 2001-12-19 23:00:04 +00:00
Keith Seitz 69c10d9280 * mi-var-display.exp: char* variables have a child. Update all
occurences.
	* mi0-var-display.exp: Likewise.
2001-12-19 22:57:46 +00:00
Jim Blandy d5d9af1069 * s390-tdep.c (s390_gdbarch_init): Revert accidentally committed
change.
2001-12-19 22:32:35 +00:00
Jim Blandy 23b7362fd7 * s390-tdep.c (s390_register_raw_size): Replace unnecessarily
obscure range comparison with legible equivalent.
2001-12-19 22:24:49 +00:00
Jeff Law 2cd045cd85 * gdb.base/break.exp: Fix HP specific search string when testing
backtracing in a called function.

        * gdb.base/constvars.exp: Only set lang to C++ if we're
        compiling the test with HP's compilers.
        * gdb.base/volatile.exp: Similarly.
2001-12-19 21:08:45 +00:00
Jeff Law 1cdb71fe7e * config/pa/tm-hppa.h (STORE_RETURN_VALUE): Use hppa_store_return_value.
(EXTRACT_RETURN_VALUE): Similarly.
        * hppa-tdep.c (hppa_store_return_value): New function.
        (hppa_extract_return_value): New function.
2001-12-19 20:21:43 +00:00
Andreas Jaeger 97cb79ae08 * configure.host: Add rules for x86_64-*linux-gnu. Change
s390x-linux entry to use gcc to report configuration, replace gcc
	with $CC in s390-linux
2001-12-19 19:58:28 +00:00
Jeff Law 6c482b8720 * infttrate.c (child_acknowledge_created_inferior): Pass
correct argument to add_thread.
        (update_thread_state_after_attach): Likewise.
2001-12-19 19:16:50 +00:00
Fernando Nasser 80fcf3f023 2001-12-19 Fernando Nasser <fnasser@redhat.com>
* config/arm/tm-arm.h: Properly define SOFTWARE_SINGLE_STEP_P.
	Always define SOFTWARE_SINGLE_STEP.
	* config/arm/tm-embed.h: Properly define SOFTWARE_SINGLE_STEP_P.
	* arm-tdep.c (arm_get_next_pc, thumb_get_next_pc, bitcount,
	shifted_reg_val): Always compile these functions.
	(arm_software_single_step): Fix second argument in function calls.
2001-12-19 17:57:42 +00:00
Andrew Cagney fb6ecb0ffc Add function gdbarch_info_init() replaces memset(). 2001-12-19 14:14:52 +00:00
Jakub Jelinek a5eb27e6ff * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): If new_size
is 0, temporarily grow it to minimal CIE size.
	(_bfd_elf_write_section_eh_frame): If input .eh_frame section would
	end up empty, build a fake minimal CIE.
2001-12-19 11:48:15 +00:00
Andreas Jaeger 9d201f2ff1 * ld.texinfo (VERSION): Fix markup. 2001-12-19 09:20:22 +00:00
Jim Blandy 99ebe9acce * gdb.base/printcmds.exp: Expect the null character to be printed
as '\0', and the '\013' to be printed as '\v'.
* gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
* gdb.base/setvar.exp: Same.
2001-12-19 06:29:45 +00:00
Jim Blandy ae23c7a369 * c-lang.c (c_emit_char): Print ASCII 11 as '\v', to match
ISO C, and our parser.  Print ASCII 0 as '\0', since that's what
people are used to seeing.
2001-12-19 06:29:18 +00:00
Michael Snyder 4dd67f2918 2001-12-18 Michael Snyder <msnyder@redhat.com>
* objcopy.c (copy_file): Accept corefiles (format bfd_core).
        (copy_object): Don't set the start address or flags of a core file.
        (copy_section): Don't relocate a core file.  Don't copy contents
        if the input section has the contents flag set, but the output
        section does not (which happens with the fake 'note' pseudo-
        sections that BFD creates for corefiles).
2001-12-19 05:18:34 +00:00
Michael Snyder 52e9b6196a 2001-12-18 Michael Snyder <msnyder@redhat.com>
* elf.c (assign_file_positions_for_segments): Don't sort PT_NOTE
        sections of corefiles.  Also it makes no sense to sort if count == 1.
2001-12-19 05:16:47 +00:00
Jim Blandy 78a5120271 * c-lang.c (c_printstr, c_builtin_types, cplus_builtin_types):
Fix indentation.
2001-12-19 03:07:08 +00:00
Jim Blandy c0d4a49f4e * Makefile.in (c-exp.tab.o): Delete duplicate build rule. Fix
dependency list on remaining build rule.
2001-12-19 02:45:36 +00:00
Alan Modra ee94eb9bc8 * config.bfd (bfd_elf32_ia64_hpux_big_vec): New vector for
ia64*-*-hpux* target.
	(bfd_elf64_ia64_hpux_big_vec): Likewise.
	* targets.c: Ditto.
	* configure.in: Ditto.
	* configure: Regenerate
	* elfxx-ia64.c (elfNN_ia64_final_write_processing): Replace use of
	alloca with bfd_malloc.
	(get_local_sym_hash): Likewise.
	(elfNN_hpux_post_process_headers): New function.
	#include elfNN-target.h again with values for IA64 HP-UX vector.
2001-12-19 02:18:20 +00:00
Alan Modra fcf12726be *** empty log message *** 2001-12-19 02:14:37 +00:00
gdbadmin c81122093f *** empty log message *** 2001-12-19 00:00:07 +00:00
Alan Modra 535b9defcc daily update 2001-12-18 23:00:05 +00:00
H.J. Lu 0ac4564efc 2001-12-18 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_copy_private_bfd_data): Also copy GP.
2001-12-18 19:03:23 +00:00
Martin Hunt 67a59bc02d 2001-12-18 Martin M. Hunt <hunt@redhat.com>
* ser-tcp.c (tcp_open): Disable Nagle algorithm which
	improves performance in some cases.
2001-12-18 18:54:18 +00:00
H.J. Lu f0b79d91cb 2001-12-18 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_copy_private_bfd_data): Update comments.
2001-12-18 18:11:52 +00:00
H.J. Lu 2d502050c8 2001-12-18 H.J. Lu <hjl@gnu.org>
* elf-bfd.h (_bfd_elf_copy_private_bfd_data): New. Prototype.
	(_bfd_mips_elf_copy_private_bfd_data): Removed.

	* elf.c (_bfd_elf_copy_private_bfd_data): New. Copy e_flags in
	the ELF header.

	* elf32-i370.c (??_elf_copy_private_bfd_data): Removed.
	(bfd_elf??_bfd_copy_private_bfd_data): Removed.
	* elf32-m32r.c: Likewise.
	* elf32-m68k.c: Likewise.
	* elf32-mcore.c: Likewise.
	* elf32-mips.c: Likewise.
	* elf32-ppc.c: Likewise.
	* elf32-v850.c: Likewise.
	* elf64-ppc.c: Likewise.
	* elf64-sparc.c: Likewise.
	* elfxx-ia64.c: Likewise.

	* elf64-mips.c (bfd_elf64_bfd_copy_private_bfd_data): Removed.

	* elfxx-target.h (bfd_elfNN_bfd_copy_private_bfd_data): Defined
	to _bfd_elf_copy_private_bfd_data.
2001-12-18 17:59:59 +00:00
Martin Schwidefsky db72780896 * elf32-s390 (elf_s390_check_relocs): Pass addend to
gc_record_vtentry.
        * elf64-s390 (elf_s390_check_relocs): Likewise.
        Fix by Andreas Jaeger <aj@suse.de>.
2001-12-18 16:21:38 +00:00
Thiemo Seufer 43521d43fc * readelf.c (get_machine_flags): Recognize header flags for ABI and
ASE extensions. More robust code for ISA checking. Ignore empty fields
	in header flags for GNU extensions.
2001-12-18 15:08:05 +00:00
Nick Clifton 3dc70b578d Correctly match all NetBSD/mips hosts. 2001-12-18 14:42:03 +00:00
Nick Clifton 2d9069a43f Remove redundant definition. 2001-12-18 14:35:34 +00:00
Nick Clifton 131b098398 Fix endian detection for configuration of sh-linux builds
Tidy up dates in ChangeLog.
2001-12-18 14:33:38 +00:00
Matthew Green 1cbbfaf9a2 * ppc-opc.c (PPCVEC): Include PPC_OPCODE_ANY. 2001-12-18 14:07:03 +00:00
Matthew Green 0b69cd08e0 * config.bfd (m68*-*-netbsdelf*): New target.
(m68*-*-netbsd): Also include bfd_elf32_m68k_vec.
(m68*-*-netbsdaout*): New alias for m68*-*-netbsd.

* configure.in (m68k-*-netbsdelf*): New target.
(m68k-*-netbsd*): Also include ELF support.
(m68k-*-netbsdaout*): New alias for m68*-*-netbsd*.
* configure: Regenerate.

* Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o.
(m68kelfnbsd.c): New rule.
* Makefile.in: Regenerate.
* configure.tgt (m68*-hp-netbsd*): Renamed to ..
(m68*-*-netbsd*4k*): .. this.
(m68*-*-netbsdelf*): New target.
(m68*-*-netbsd*): Also include ELF support.
(m68*-*-netbsdaout*): New alias for m68*-*-netbsd*.
* emulparams/m68kelfnbsd.sh: New emulation.
2001-12-18 13:26:26 +00:00
Jakub Jelinek 6b9b879a02 * ldgram.y (vers_node): Support anonymous version tags.
* ldlang.c (lang_register_vers_node): Ensure anonymous version
	tag is not defined together with non-anonymous versions.
	* ld.texinfo: Document it.

	* elflink.h (size_dynamic_sections): Skip anonymous version tag.
	(elf_link_assign_sym_version): Don't count anonymous version tag.
2001-12-18 12:15:35 +00:00
Alan Modra b667df2e28 * objcopy.c (copy_archive): Set output bfd format outside the loop. 2001-12-18 11:54:10 +00:00
Jakub Jelinek 9e2a48988a * elf-eh-frame.c (struct cie): Add make_lsda_relative.
(struct eh_cie_fde): Add lsda_encoding, lsda_offset,
	make_lsda_relative.
	(read_value, write_value): New.
	(_bfd_elf_discard_section_eh_frame): Inicialize
	lsda_encoding, lsda_offset and make_lsda_relative.
	(_bfd_elf_eh_frame_section_offset): If make_lsda_relative,
	request no dynamic reloc for LSDA field of FDE.
	(_bfd_elf_write_section_eh_frame): Handle make_lsda_relative.
	If a non-DW_EH_PE_absptr value is 0, don't adjust it by base
	or pcrel.  Fix address computation for DW_EH_PE_pcrel relocs.
	Update LSDA field if LSDA encoding is DW_EH_PE_pcrel, because
	. might have changed due to deleted FDE or CIEs.
2001-12-18 11:49:52 +00:00
Jakub Jelinek 53c3f2bec7 * elf-strtab.c (struct elf_strtab_hash_entry): Add u.next.
(last_eq): Remove.
	(_bfd_elf_strtab_finalize): Don't use a hash table for last
	character chains, instead use an array.
2001-12-18 11:47:59 +00:00
Hans-Peter Nilsson 351d03c5e6 * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line number
handling.
2001-12-18 10:40:13 +00:00
Nick Clifton 9fc877edc5 Import Turkish translation. 2001-12-18 10:35:27 +00:00
Nick Clifton 17a5a5c333 Import japanese translation from translation project. 2001-12-18 10:33:37 +00:00