Commit Graph

34366 Commits

Author SHA1 Message Date
Alan Modra 91593c9df4 * MAINTAINERS: Sort port maintainers by CPU. 2002-05-04 01:52:13 +00:00
Alan Modra 6b52b82468 * size.c (display_archive): Add last_arfile and code to close archives. 2002-05-04 01:31:50 +00:00
Alan Modra 301e31397f * opncls.c (_bfd_new_bfd_contained_in): Check return value of
_bfd_new_bfd.
2002-05-04 01:31:08 +00:00
Jim Blandy 13a393b0d3 * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy.
(read_type): Doc fix.
* gdbtypes.c (replace_type): Doc fix.
2002-05-04 00:21:09 +00:00
Jim Blandy 2ae1c2d222 * stabsread.c (multiply_defined_struct): New complaint.
(read_struct_type): If the type we were passed isn't empty, or
incomplete, don't read the new struct type into it; complain,
and return the original type unchanged.  Take a new `type_code'
argument, which is the type code for the new type.
(read_type): Rather than storing the type's type code here, pass
it as an argument to read_struct_type, and let that take care of
storing it.  That way, we don't overwrite the original type code,
so read_struct_type can use it to decide whether we're overwriting
something we shouldn't.
(complain_about_struct_wipeout): New function.
2002-05-04 00:02:50 +00:00
Alan Modra ae0c415a5c daily update 2002-05-04 00:00:06 +00:00
gdbadmin 507fe7ef80 *** empty log message *** 2002-05-04 00:00:05 +00:00
Michael Snyder d6dcc2647a 2002-05-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/watchpoint.exp: Add xscale target.
2002-05-03 23:16:44 +00:00
Michael Snyder 5c7a03973f 2002-05-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Add xscale target.
	* gdb.base/default.exp: Add xscale target.
2002-05-03 21:25:08 +00:00
Andrew Cagney 8de9bdc4df * gdbarch.sh: Assert that gdbarch is non-NULL.
* gdbarch.c: Regenerate.
2002-05-03 21:05:36 +00:00
H.J. Lu 7c5fcef7ab 2002-05-03 H.J. Lu (hjl@gnu.org)
* elfxx-mips.c (mips_elf_link_hash_entry): Add forced_local.
	(mips_elf_link_hash_newfunc): Initialize forced_local to false.
	(mips_elf_record_global_got_symbol): Call _bfd_mips_elf_hide_symbol
	to hide a global symbol.
	(_bfd_mips_elf_hide_symbol): Return if forced_local is true. Set
	forced_local to true.
2002-05-03 19:53:20 +00:00
Jason Merrill f773fdbbd5 * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn
and return NULL.
2002-05-03 19:38:29 +00:00
Alexandre Oliva 8f5b2891d8 * config/tc-s390.c (md_gather_operands): Emit dwarf2 line-number
information for instructions.
2002-05-03 18:25:08 +00:00
Alexandre Oliva 6d095fe412 * configure.in: Revert 2002-04-18's patch; fixed in libjava. 2002-05-03 18:24:32 +00:00
Thomas Fitzsimmons dac55df9cd * configure.in (FLAGS_FOR_TARGET): Do not add
-B$$r/$(TARGET_SUBDIR)/newlib/ when compiling newlib natively
	on i[3456]86-*-linux*.
2002-05-03 16:13:21 +00:00
Kazu Hirata b7a26f91f4 * ld.h: Fix formatting.
* ldexp.c: Likewise.
	* ldfile.c: Likewise.
	* ldlang.c: Likewise.
	* ldmain.c: Likewise.
	* lexsup.c: Likewise.
	* pe-dll.c: Likewise.
2002-05-03 13:48:55 +00:00
Michal Ludvig 0e04a5142a 2002-05-03 Michal Ludvig <mludvig@suse.cz>
* x86-64-tdep.c (x86_64_dwarf2gdb_regno_map),
	(x86_64_dwarf2gdb_regno_map_length),
	(x86_64_dwarf2_reg_to_regnum): Added.
	(x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum.
	(x86_64_gdbarch_init): Renamed from i386_gdbarch_init.
	(_initialize_x86_64_tdep): Synced with the change above.
	(x86_64_skip_prologue): Reformulated message.
2002-05-03 10:52:00 +00:00
Pierre Muller 065432a84e 2002-05-03 Pierre Muller <muller@ics.u-strasbg.fr>
* f-exp.y: Also use new prev_lexptr variable
	to improve error reporting. Based on Michael Snyder
	2002-04-24 dated patch to c-exp.y.
	* jv-exp.y: Likewise.
	* m2-exp.y: Likewise.
2002-05-03 08:23:12 +00:00
Kazu Hirata d1a6c2428d * as.h: Fix formatting.
* cgen.c: Likewise.
	* cgen.h: Likewise.
	* dwarf2dbg.c: Likewise.
	* frags.h: Likewise.
	* gasp.c: Likewise.
	* macro.c: Likewise.
	* read.c: Likewise.
	* stabs.c: Likewise.
	* symbols.c: Likewise.
2002-05-03 02:25:33 +00:00
Alan Modra 38110bc4c3 daily update 2002-05-03 00:00:04 +00:00
gdbadmin aaa6a10f15 *** empty log message *** 2002-05-03 00:00:02 +00:00
Elena Zannoni a3162708df 2002-05-02 Elena Zannoni <ezannoni@redhat.com>
* valops.c (value_arg_coerce): Don't coerce arrays to pointers if
	we are dealing with vectors.
2002-05-02 19:00:36 +00:00
Richard Henderson 84de6048cc * elf64-alpha.c (elf64_alpha_relocate_section): Force relative relocs
vs SHN_UNDEF to zero.
2002-05-02 17:46:59 +00:00
Richard Sandiford a155881bab * ld-scripts/map-address.exp: Quote conditions. 2002-05-02 16:03:41 +00:00
Pierre Muller 03620c38e4 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
* config/m68k/tm-nbsd.h: Obvious fix,
	correct machine name.
2002-05-02 13:47:17 +00:00
Alan Modra 72297628d9 * app.c (mri_pseudo): Only declare for TC_M68K. 2002-05-02 13:01:50 +00:00
Alan Modra 1cfc59d51f * config/tc-ppc.c (mapping): Map sectoff to BFD_RELOC_16_BASEREL.
(ppc_elf_validate_fix): Replace BFD_RELOC_32_BASEREL with
	BFD_RELOC_16_BASEREL.
	(md_assemble): Likewise.
	(md_apply_fix3): Likewise.
2002-05-02 12:41:35 +00:00
Alan Modra c061c2d8bb * elf64-ppc.c (ppc64_elf_howto_raw <R_PPC64_SECTOFF>): Change to a
16 bit reloc.
	<R_PPC64_SECTOFF_DS>: Likewise.
	(ppc64_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to
	SECTOFF reloc.
	* elf32-ppc.c (ppc_elf_howto_raw <R_PPC_SECTOFF>): Correct.
	(ppc_elf_reloc_type_lookup): Map from BFD_RELOC_16_BASEREL to
	SECTOFF reloc.
2002-05-02 12:35:25 +00:00
Pierre Muller 6604db2ec0 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
* p-typeprint.c (pascal_type_print_base): Add support
	for TYPE_CODE_STRING and TYPE_CODE_BITSTRING.
2002-05-02 11:32:24 +00:00
Pierre Muller 0906b7396c 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
* p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR
	for fondamental pascal 'char' type.
2002-05-02 11:26:01 +00:00
Pierre Muller e2625b330b 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr>
* p-lang.h (is_pascal_string_type): Declaration changed,
	new sixth argument of type char ** added.
	* p-lang.c (is_pascal_string_type): Implementation
	changed. Args length_pos, length_size, string_pos, char_size
	can now be NULL. New argument arrayname set to the field
	name of the char array. Return value set to char array
	field index plus one.
	* p-valprint.c (pascal_val_print): Adapt to new declaration of
	is_pascal_string_type function.
2002-05-02 11:18:07 +00:00
Alan Modra 805fc79928 * elf64-ppc.c (ppc64_elf_addr16_ha_reloc): Delete.
(ppc64_elf_ha_reloc): New function.
	(ppc64_elf_brtaken_reloc): New function.
	(ppc64_elf_sectoff_reloc): New function.
	(ppc64_elf_sectoff_ha_reloc): New function.
	(ppc64_elf_toc_reloc): New function.
	(ppc64_elf_toc_ha_reloc): New function.
	(ppc64_elf_toc64_reloc): New function.
	(ppc64_elf_unhandled_reloc): New function.
	(ppc64_elf_howto_raw): Use the above.
	<R_PPC64_RELATIVE>: Mark pc_relative, pcrel_offset.
	<R_PPC64_SECTOFF>: Not pc_relative or pcrel_offset.  Fix dst_mask.
	<R_PPC64_SECTOFF_DS>: Likewise.
	(IS_ABSOLUTE_RELOC): Update.
	(struct ppc_link_hash_table): Add have_undefweak.
	(ppc64_elf_link_hash_table_create): Init.
	(func_desc_adjust): Set have_undefweak.
	(ppc64_elf_func_desc_adjust): Call func_desc_adjust earlier.  Only
	add the .sfpr blr when have_undefweak.
	(ppc64_elf_setup_section_lists): Check hash table flavour.
	(ppc64_elf_next_input_section): Move output_section->owner test to
	ppc64elf.em.
	(ppc64_elf_set_toc): Rename to ppc64_elf_toc, remove info param
	and relocatable test.  Return TOCstart and don't set elf_gp.
	(ppc64_elf_relocate_section): Correct BRTAKEN/BRNTAKEN branch
	offset calculation.  Add assert on weak sym branch tweaks.
	* elf64-ppc.h (ppc64_elf_set_toc): Delete.
	(ppc64_elf_toc): Declare.
	(ppc64_elf_next_input_section): Update.

	* emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation):
	Adjust for ppc64_elf_set_toc change.  #include libbfd.h.
	(build_section_lists): Do output_section tests here.
2002-05-02 09:48:15 +00:00
Nick Clifton 358b94bdb1 Do not convert a subtract of zero into an add of zero. 2002-05-02 09:11:14 +00:00
Nick Clifton d3427997ad Do not attempt to create a .gmo file if the sources are read-only. 2002-05-02 08:15:00 +00:00
Jim Blandy eb7f1c487a * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
gdb.c++/hang.exp: New test.
2002-05-02 07:03:53 +00:00
Andrew Cagney cf17c188f5 Yank previous change - set current arch to NULL. 2002-05-02 01:38:27 +00:00
gdbadmin 6371b78ee2 *** empty log message *** 2002-05-02 00:00:33 +00:00
Alan Modra 8c9776af97 daily update 2002-05-02 00:00:06 +00:00
Chris Demetriou 5accf1ff56 [ common/ChangeLog ]
2002-05-01  Chris Demetriou  <cgd@broadcom.com>

        * callback.c: Use 'deprecated' rather than 'depreciated.'

[ igen/ChangeLog ]
2002-05-01  Chris Demetriou  <cgd@broadcom.com>

        * igen.c: Use 'deprecated' rather than 'depreciated.'

[ mips/ChangeLog ]
2002-05-01  Chris Demetriou  <cgd@broadcom.com>

        * interp.c: Use 'deprecated' rather than 'depreciated.'
        * sim-main.h: Likewise.
2002-05-01 23:26:32 +00:00
Andrew Cagney 52bca49131 * gdbarch.sh (gdbarch_update_p): Swap out the old architecture
before probing for a new one.  Detect errorenous gdbarch_init
functions.
* gdbarch.c: Regenerate.
2002-05-01 22:02:20 +00:00
Thomas Fitzsimmons a018e15b9d * configure.in (noconfigdirs): Replace [ ] with test. 2002-05-01 21:32:32 +00:00
Andrew Cagney d5e725050c * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h".
* config/mcore/tm-mcore.h: Ditto.  Update copyright.
* config/v850/tm-v850.h: Ditto.  Update copyright.
2002-05-01 21:26:52 +00:00
Thomas Fitzsimmons c72f388de2 * configure.in (noconfigdirs): Do not add target-newlib if
target == i[3456]86-*-linux*, and host == target.
2002-05-01 20:42:00 +00:00
Chris Demetriou 402586aa26 2002-05-01 Chris Demetriou <cgd@broadcom.com>
* cp1.c (store_fpr): Remove #ifdef'd out call to UndefinedResult
        which wouldn't compile anyway.
        * sim-main.h (unpredictable_action): New function prototype.
        (Unpredictable): Define to call igen function unpredictable().
        (NotWordValue): New macro to call igen function not_word_value().
        (UndefinedResult): Remove.
        * interp.c (undefined_result): Remove.
        (unpredictable_action): New function.
        * mips.igen (not_word_value, unpredictable): New functions.
        (ADD, ADDI, do_addiu, do_addu, BGEZAL, BGEZALL, BLTZAL, BLTZALL)
        (CLO, CLZ, MADD, MADDU, MSUB, MSUBU, MUL, do_mult, do_multu)
        (do_sra, do_srav, do_srl, do_srlv, SUB, do_subu): Invoke
        NotWordValue() to check for unpredictable inputs, then
        Unpredictable() to handle them.
2002-05-01 17:26:14 +00:00
Fred Fish a6befae84d 2002-05-01 Fred Fish <fnf@redhat.com>
* gdb.base/completion.exp: Handle completions of "./Make" for
	more than one completion possibility, as is the case when we
	build and test in the source tree.
2002-05-01 15:39:32 +00:00
Nick Clifton d8731e7dad Generate warning if the same destination register is used in parallel
instructions.
2002-05-01 09:54:31 +00:00
Alan Modra 818c39a387 * syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
file_name.
2002-05-01 07:36:39 +00:00
Alan Modra dd70071f8b * nm.c (print_symbol): Check returned filename from
bfd_find_nearest_line is non-NULL.
2002-05-01 06:43:32 +00:00
Andrew Cagney af566d9f8c * cris-tdep.c (cris_gdbarch_init): Use arches instead of
current_gdbarch.
2002-05-01 03:14:05 +00:00
Tom Rix cc7e59b280 Formatting fix. 2002-05-01 02:52:17 +00:00