Commit Graph

45642 Commits

Author SHA1 Message Date
Alan Modra 51fea49ef7 daily update 2004-10-08 00:00:05 +00:00
gdbadmin 9f18f3db18 *** empty log message *** 2004-10-08 00:00:03 +00:00
Richard Sandiford 6e1304d817 * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
to build the second and third fixups for a composite relocation.
	(macro_read_relocs): New function.
	(macro_build): Use it.
	(s_cpsetup): Pass all three composite relocation codes to macro_build.
	Simplify fragging code accordingly.
	(s_gpdword): Use fix_new rather than fix_new_exp for the second part
	of the composite relocation.  Set fx_tcbit in both fixups.
2004-10-07 22:29:19 +00:00
Alexandre Oliva 1c877e87e3 * readelf.c (get_machine_flags): Don't fall through into m68k cpu
types.
2004-10-07 21:01:43 +00:00
Richard Sandiford 99022dfb1d * elf64-mips.c (mips_elf64_write_rel): Use STN_UNDEF for relocs
against the absolute section.
	(mips_elf64_write_rela): Likewise.
2004-10-07 19:15:29 +00:00
Richard Sandiford b1dca8ee5e * config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs.
(md_apply_fix3): Don't treat composite relocs as done.
2004-10-07 19:12:54 +00:00
Daniel Jacobowitz 1fd8cd2072 From Maciej W. Rozycki <macro@mips.com>:
* mips-tdep.c (mips32_next_pc): Check the register's contents,
	not its number for BLEZ/BLEZL and BGTZ/BGTZL.
2004-10-07 17:17:08 +00:00
Nick Clifton bbac1f2ac7 Replace literal "0"s with NULLs in pointer initializers. 2004-10-07 15:34:08 +00:00
Nick Clifton 289040ca3e When separating CIE out from FDE, treat a DW_CFA_remember_state as we do a
DW_CFA_advance_loc.  Test to make sure that this feature continues to work.
2004-10-07 15:18:11 +00:00
Nick Clifton 89658e5257 For ELF targets use .LL rather than LL as the prefix for symbol names generated
from the LOCAL macro directive.
2004-10-07 15:16:08 +00:00
Nick Clifton 6b40fcba62 apply mising piece of previous patch 2004-10-07 15:00:20 +00:00
Nick Clifton b67ae29933 Skip redundant/bogus test for section membership when examining symbols. 2004-10-07 14:57:57 +00:00
Tomer Levi 5c5054ab48 Add error checking for CRX Co-Processor instructions 2004-10-07 14:49:58 +00:00
Tomer Levi e3c52c539f Add error checking for Co-Processor instructions 2004-10-07 14:48:08 +00:00
Nick Clifton 8fdd7217a7 Add linker option: --warn-shared-textrel to produce warnings when adding a
DT_TEXTREL to a shared object.
2004-10-07 14:45:24 +00:00
Nick Clifton 48c9f030c9 Add support for CRX co-processor opcodes 2004-10-07 14:18:17 +00:00
Kazuhiro Inaoka cea15572cd 2004-10-07 Kei Sakamoto <sakamoto.kei@renesas.com>
* m32r-tdep.c (decode_prologue): Support functions written
        in assembler language. Recognize trap instructions as the
        end of prologue.
        (m32r_frame_unwind_cache): Ditto.
        (m32r_skip_prologue): Extend search limit. Quit analyzing
        prologue if pc's location is not readable.
2004-10-07 01:21:53 +00:00
Alan Modra f124e0e104 daily update 2004-10-07 00:00:06 +00:00
gdbadmin c7784f4d52 *** empty log message *** 2004-10-07 00:00:05 +00:00
Aldy Hernandez 3cc0884a68 * gas/testsuite/gas/ppc/e500.s: Add double-precision instructions.
* gas/testsuite/gas/ppc/e500.d: Same.
2004-10-06 23:59:03 +00:00
Aldy Hernandez 12c64a4e4d * opcodes/ppc-opc.c (powerpc_opcodes): Add efscfd, efdabs, efdnabs,
efdneg, efdadd, efdsub, efdmul, efddiv, efdcmpgt, efdcmplt,
	efdcmpeq, efdtstgt, efdtstlt, efdtsteq, efdcfsi, efdcfsid,
	efdcfui, efdcfuid, efdcfsf, efdcfuf, efdctsi, efdctsidz, efdctsiz,
	efdctui, efdctuidz, efdctuiz, efdctsf, efdctuf, efdctuf, efdcfs.
2004-10-06 23:58:13 +00:00
Felix Lee e05389b893 2004-10-06 Felix Lee <felix+log1@specifixinc.com>
* config/gdbserver.exp (gdb_load): Use right filename on remote.
2004-10-06 22:51:00 +00:00
Eric Christopher 637cf7673d 2004-10-06 Eric Christopher <echristo@redhat.com>
* dwarf2.h: Sync with gcc dwarf2.h. Fix typo.
2004-10-06 20:29:48 +00:00
Paolo Bonzini d27cc32edd 2004-10-06 Paolo Bonzini <bonzini@gnu.org>
Fix wrong conflict resolution in:

	2004-08-16  Paolo Bonzini  <bonzini@gnu.org>

	* Makefile.in: Regenerate.
	* Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*)
	in the recursive `make', instead of hardwiring `all'.
	(Autogenerated TARGET-* variables): New.
2004-10-06 10:15:24 +00:00
Paul N. Hilfinger 2348555434 2004-10-06 Paul N. Hilfinger <Hilfinger@gnat.com>
* Makefile.in (.l.c): Do conversions of names of alloc and free
functions that are done for .y.c files, plus special one
for yy_flex_realloc.  Also, correct missing-file tests here.
* ada-lex.l (malloc, free): Remove macros.
(resize_tempbuf): Use "realloc"; rely on sed changes to convert to
xrealloc.
(ada_flex_use): Dummy definition to remove warnings about unused
functions.
* ada-exp.y (dummy_string_to_ada_operator): Temporary definition
to suppress warning.
2004-10-06 09:28:55 +00:00
Corinna Vinschen c0409442a8 * sh-tdep.c (sh_return_value_nofpu): New function, implementing
RETURN_VALUE.
	(sh_return_value_fpu): Ditto for CPUs with FPU.
	(sh_gdbarch_init): Remove STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE,
	RETURN_VALUE_ON_STACK and USE_STRUCT_CONVENTION throughout.
	Install sh_return_value_nofpu resp. sh_return_value_fpu as
	RETURN_VALUE functions.
2004-10-06 08:59:02 +00:00
Corinna Vinschen 9bed62d7af * sh-tdep.c (sh_pseudo_register_read): Add PSEUDO_BANK_REGNUM handling.
(sh_pseudo_register_write): Ditto.
2004-10-06 08:57:38 +00:00
Corinna Vinschen 03131d99d3 * sh-tdep.c (IS_MACL_STS): New define.
(IS_MOVI20): Ditto.
	(IS_MACL_LDS): Ditto.
	(sh_analyze_prologue): Recognize STS.L MACL,@-r15 and MOVI20
	instructions in prologue.
	(sh_in_function_epilogue_p): Recognize LDS.L @r15+,MACL and MOVI20
	instructions in epilogue.
2004-10-06 08:56:40 +00:00
Corinna Vinschen da9624689c * sh-tdep.c (SH_NUM_REGS): Define as 67.
(sh_sh_register_name): Add eight empty register names.
	(sh_sh3_register_name): Ditto.
	(sh_sh3e_register_name): Ditto.
	(sh_sh2e_register_name): Ditto.
	(sh_sh2a_register_name): New function, defining SH2A register set.
	(sh_sh2a_nofpu_register_name): New function, defining SH2A register set
	in nofpu case.
	(sh_sh_dsp_register_name): Add eight empty register names.
	(sh_sh3_dsp_register_name): Ditto.
	(sh_sh4_register_name): Ditto.
	(sh_sh4_nofpu_register_name): Ditto.
	(sh_sh4al_dsp_register_name): Ditto.
	(sh2a_show_regs): New function.
	(sh2a_nofpu_show_regs): New function.
	(sh_sh2a_register_type): New function.
	(do_bank_register_info): New function.
	(sh_print_pseudo_register): Call do_bank_register_info.
	Call sh_print_pseudo_register for valid "bank" register.
	(sh_sh2a_register_sim_regno): New function.
	(sh_gdbarch_init): Add bfd_mach_sh2a and bfd_mach_sh2a_nofpu handling.
	Increment pseudo register count by one for all sh variants with
	pseudo registers to accomodate pseudo bank register.
	* sh-tdep.h: Add register numbers for R0_BANK0_REGNUM, MACHB_REGNUM,
	IVNB_REGNUM, PRB_REGNUM, GBRB_REGNUM, MACLB_REGNUM, BANK_REGNUM,
	IBCR_REGNUM, IBNR_REGNUM, TBR_REGNUM and PSEUDO_BANK_REGNUM.
	Increment pseudo register numbers.
2004-10-06 08:55:36 +00:00
Corinna Vinschen 1326e61ba3 * dwarf2read.c (read_subroutine_type): Call make_function_type
instead of lookup_function_type.
2004-10-06 08:46:21 +00:00
Alan Modra 709a48ba5e daily update 2004-10-06 00:00:06 +00:00
gdbadmin 83e333c895 *** empty log message *** 2004-10-06 00:00:02 +00:00
Jim Blandy 146c42e39d * linux-nat.c (_initialize_linux_nat): Rename child_ops.
(Previous change missed some uses.)
2004-10-05 22:40:30 +00:00
Andrew Cagney 1df84f135c 2004-10-05 Andrew Cagney <cagney@gnu.org>
* target.h (deprecated_child_ops): Rename child_ops.
	* wince.c: Update copyright.  Rename child_ops.
	* win32-nat.c: Rename child_ops.
	* target.c: Rename child_ops.
	* rs6000-nat.c: Rename child_ops.
	* linux-nat.c: Rename child_ops.
	* infttrace.c: Rename child_ops.
	* inftarg.c: Rename child_ops.
	* infptrace.c: Rename child_ops.
	* hppah-nat.c: Update copyright.  Rename child_ops.
	* hpux-thread.c: Update copyright.  Rename child_ops.
2004-10-05 21:53:33 +00:00
Daniel Jacobowitz 21e3b9b91a * remote.c (remote_xfer_partial): Handle TARGET_OBJECT_MEMORY. 2004-10-05 19:52:04 +00:00
gdbadmin 737ffd4f18 *** empty log message *** 2004-10-05 19:00:02 +00:00
Andrew Cagney de83afe730 2004-10-05 Andrew Cagney <cagney@gnu.org>
* version.in: Bump to version 6.2.50_YYYY-MM-DD-cvs.
2004-10-05 18:37:38 +00:00
Roland McGrath 073a2dc30f . 2004-10-05 18:09:46 +00:00
Roland McGrath 724b3ea926 2004-10-04 Roland McGrath <roland@redhat.com>
* hash.c (bfd_hash_set_default_size): Use const for table.
	Use size_t instead of int for variable compared to sizeof results.
2004-10-05 18:09:38 +00:00
Daniel Jacobowitz 10b3939b33 * dwarf2read.c (REF_HASH_SIZE): Move earlier.
(die_ref_table): Remove.
	(struct dwarf2_cu): Add DIES, DEPENDENCIES, and DIE_REF_TABLE.
	(struct dwarf2_per_cu_data): Add PSYMTAB.  Add a comment describing
	the usage of this type.
	(struct dwarf2_per_objfile): Update comment for ALL_COMP_UNITS.
	(struct dwarf2_pinfo, PST_PRIVATE, DWARF_INFO_OFFSET): Remove.
	(struct dwarf2_queue_item, dwarf2_queue, dwarf2_queue_tail): New.
	(dwarf2_create_include_psymtab): Update comment.
	(find_partial_die): Remove third argument.  Remove unreachable call
	to error ().
	(dwarf2_find_containing_comp_unit): Update comments.  Change one
	assertion to an error.  Remove an unreachable error.
	(dwarf2_find_comp_unit): Update comments.
	(type_at_offset): Remove dead code.
	(make_cleanup_free_die_list, dwarf2_empty_hash_tables): Remove.
	(store_in_ref_table): Add CU argument.
	(follow_die_ref): Take DIE, attribute, and CU arguments.  Handle
	inter-compilation-unit references.
	(load_full_comp_unit, process_full_comp_unit): New functions, based
	on psymtab_to_symtab_1.
	(psymtab_to_symtab_1): Use them.
	(dwarf2_add_dependence): New function.
	(dwarf2_build_psymtabs_hard): Set the psymtab in per_cu.  Always create
	a per_cu structure, and save it in READ_PSYMTAB_PRIVATE.
	(partial_die_parent_scope, guess_structure_name): Update for changes
	to find_partial_die.
	(dwarf2_psymtab_to_symtab): Initialize dwarf2_per_objfile here.
	(queue_comp_unit, process_queue, dwarf2_release_queue): New.
	(read_comp_unit): Don't call dwarf2_empty_hash_tables.
	(read_die_and_children): Update call to store_in_ref_table.
	(do_free_die_list_cleanup): Remove.
	(fixup_partial_die): Update for changes to find_partial_die.
	(read_full_die): Handle queueing absolute references.
	(read_attribute_value): Use DW_ADDR for all DW_FORM_ref* forms.
	(dwarf2_attr, die_specification, die_type)
	(die_containing_type, dwarf2_extension): Update calls to
	follow_die_ref.
	(dump_die): Update DW_FORM_ref* handling.
	(dwarf2_get_ref_die_offset): Likewise.
	(free_one_comp_unit): Release the dies list.
	(dwarf2_mark_helper): New function.
	(dwarf2_mark): Use it.
2004-10-05 17:53:26 +00:00
Tomer Levi 339207f8f9 Enable --relax option by default for CRX 2004-10-05 14:39:40 +00:00
Tomer Levi 799fb2ebc4 Enable --relax option by default 2004-10-05 14:35:50 +00:00
Nick Clifton 62377b1f9c oops - omitted from previous delta 2004-10-05 14:03:10 +00:00
Nick Clifton 7ed4c4c5d0 Add support for generating ARM unwind tables. 2004-10-05 13:51:40 +00:00
Ulrich Weigand 1763908f7c 2004-10-05 Ulrich Weigand <uweigand@de.ibm.com>
Merged from GCC / libtool upstream:
	2004-10-02  P.J. Darcy  <darcypj@us.ibm.com>
	* ltcf-c.sh (tpf*): Add ld_shlibs=yes.
	* ltcf-cxx.sh (tpf*): Likewise.
	* ltconfig (tpf*): Add TPF OS configuration support.
2004-10-05 13:34:42 +00:00
Mark Kettenis 998bdd68ff * procfs.c (procfs_xfer_partial): Use WRITEBUF instead of READBUF
when writing to memory.
2004-10-05 11:24:21 +00:00
Alan Modra 7785be14ef PR 425
* syms.c (_bfd_stab_section_find_nearest_line): Ignore R_*_NONE relocs.
2004-10-05 11:12:56 +00:00
Kazuhiro Inaoka 73cb587da4 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
* gdb.asm/asm-source.exp: Add m32r-linux target.
	* gdb.asm/m32r-linux.inc: New file.
2004-10-05 04:13:42 +00:00
Kazuhiro Inaoka 1458888098 2004-10-05 Kei Sakamoto <sakamoto.kei@renesas.com>
* m32r-tdep.c (m32r_use_struct_convention): Delete function.
	(m32r_extract_struct_value_address): Delete function.
	(m32r_return_value): New function.
	(m32r_gdbarch_init): Instead of store_return_value,
	extract_return_value, deprecated_extract_struct_value_address
	and deprecated_use_struct_convention, set return_value.
2004-10-05 04:07:10 +00:00
Alan Modra 16bc1b5f24 daily update 2004-10-05 00:00:06 +00:00