Commit graph

46374 commits

Author SHA1 Message Date
Alan Modra
7785b0982a daily update 2004-12-03 23:00:06 +00:00
Mark Kettenis
932936f0df * inf-ttrace.c: Include <sys/mman.h>.
(struct inf_ttrace_page): New.
(struct inf_ttrace_page_dict): New.
(inf_ttrace_num_threads_in_syscall)
(inf_ttrace_reenable_page_protections): New variables.
(inf_ttrace_enable_syscall_events)
(inf_ttrace_disable_syscall_events, inf_ttrace_get_page)
(inf_ttrace_remove_page, inf_ttrace_mask_page_protections)
(inf_ttrace_enable_page_protections)
(inf_ttrace_disable_page_protections)
(inf_ttrace_insert_watchpoint, inf_ttrace_remove_watchpoint)
(inf_ttrace_can_use_hw_breakpoint)
(inf_ttrace_region_size_ok_for_hw_watchpoint)
(inf_ttrace_stopped_by_watchpoint): New functions.
(inf_ttrace_him): Remove unsused varaible `tts'.
(inf_ttrace_create_inferior): Add assertionts.
(inf_ttrace_mourn_inferior): Clear page dictionary.
(inf_ttrace_attach): Set initial event mask.
(inf_ttrace_detach): Reset number of threads in system call.
(inf_ttrace_wait): Deal with system call events.
(inf_ttrace_target): Initialize "hardware" watchpoint-related
parts of the target vector.
(_initialize_inf_ttrace): New prototype and function.
2004-12-03 22:20:00 +00:00
Hans-Peter Nilsson
697afb65fc * configure.in (SIM_CHECK_MEMBERS): Call for struct stat members
st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev,
	st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime.
	* aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1)
	(SIM_CHECK_MEMBERS): New macros.
	* callback.c (cb_host_to_target_stat): Use temporary macro ST_x
	for struct stat member test and write.  Add ST_x calls for each
	struct stat member tested in configure.in.  Wrap each ST_x call in
	#ifdef of configure macro for that member.
	* configure, config.in: Regenerate.
2004-12-03 19:36:53 +00:00
Mark Kettenis
dd515450aa * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Use ULONGEST as
type of `gp' variable.
2004-12-03 18:03:09 +00:00
H.J. Lu
e1d9786917 2004-12-03 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/group1.d: Support 64bit.
2004-12-03 17:06:28 +00:00
Jan Beulich
5742623224 bfd/
2004-12-03 Jan Beulich  <jbeulich@novell.com>

	* elf.c (elf_find_function): Don't use the last file symbol ever,
	seen, but the last one seen prior to the symbol being reported.
	Don't report a filename at all for global symbols when that might
	be ambiguous/wrong.
2004-12-03 13:59:36 +00:00
Richard Sandiford
3da796a242 Introduce config/gxx-include-dir.m4. 2004-12-03 10:47:07 +00:00
Richard Sandiford
73fb706800 Remove config.if. 2004-12-03 10:30:13 +00:00
Mark Mitchell
c820d41869 * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
* configure.in: Use it for arm*-*-linux-gnueabi*.
	* config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
	* config/te-armlinuxeabi.h: New file.
	* Makefile.in: Regenerated.
	* aclocal.m4: Likewise.
	* configure: Likewise.
	* doc/Makefile.in: Regenerated.
2004-12-03 01:22:15 +00:00
Bob Wilson
2b0210eb40 * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
(xtensa_restore_emit_state): Likewise.
2004-12-03 01:00:07 +00:00
gdbadmin
ca5e5bc767 *** empty log message *** 2004-12-03 00:00:06 +00:00
Eric Christopher
3b6098f800 Use correct ChangeLog entry. 2004-12-02 23:51:19 +00:00
Eric Christopher
6c8e6ce962 2004-12-02 Eric Christopher <echristo@redhat.com>
* Makefile.tpl (clean-target-libgcc): Add stmp-dirs to list of
	things to remove.
        * Makefile.in: Regenerate.
2004-12-02 23:50:22 +00:00
Alan Modra
febeb2918c daily update 2004-12-02 23:00:05 +00:00
Paul Brook
94a3258fc5 2004-12-01 Paul Brook <paul@codesourcery.com>
* elf32-arm.c (elf32_arm_copy_private_bfd_data): Set EI_OSABI.
	(elf32_arm_post_process_headers): Set EI_OSABI depending on ABI
	version.
2004-12-02 15:05:34 +00:00
Richard Sandiford
b8658a2fb4 * configure.in: Clear gcc_version_trigger if the file doesn't exist.
* configure: Regenerate.
2004-12-02 14:08:01 +00:00
Richard Sandiford
afefada0eb Introduce and use config/gcc-version.m4. 2004-12-02 11:09:36 +00:00
Alan Modra
9ebd302d5e * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
(s_align): Use it.
2004-12-02 09:39:14 +00:00
gdbadmin
bd9d51e058 *** empty log message *** 2004-12-02 00:00:03 +00:00
Paul Brook
529fcb9585 2004-12-01 Paul Brook <paul@codesourcery.com>
bfd/
	* elflink.c (elf_link_add_object_symbols): Make symbols from discarded
	sections undefined.
ld/testsuite/
	* ld-elf/group1.d: New test.
	* ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test.
2004-12-01 23:23:12 +00:00
Alan Modra
24b4912d64 daily update 2004-12-01 23:00:09 +00:00
Daniel Jacobowitz
6db74b6f21 * ld-selective/selective.exp: Use -print-libgcc-file-name for
ARM and v850 also.
2004-12-01 21:12:39 +00:00
Joel Brobecker
515921d78f * alpha-tdep.c (alpha_register_name): Add comment.
(alpha_cannot_fetch_register): Exclude registers numbers which
        are no longer used from the list of registers that can be fetched.
        (alpha_cannot_store_register): Exclude registers numbers which
        are no longer used from the list of registers that can be stored.
        * alpha-nat.c (fetch_osf_core_registers): Add missing value in
        core_reg_mapping array.
2004-12-01 17:13:44 +00:00
Joel Brobecker
1cc759c321 * alpha-tdep.c (alpha_heuristic_frame_prev_register): Fetch
the register value from the correct frame.
2004-12-01 17:05:45 +00:00
Andrew Cagney
44b263ce53 Delete h8500 simulator, gdb droped h8500 in 6.1. 2004-12-01 15:41:27 +00:00
Andrew Cagney
33841fd962 Delete i960; deleted from GDB long long ago. 2004-12-01 15:27:21 +00:00
Hans-Peter Nilsson
6e56eb075a Oops, forgot to save ChangeLog before committing 2004-12-01 13:53:28 +00:00
Randolph Chung
b546247c05 2004-11-30 Randolph Chung <tausq@debian.org>
* hppa-linux-tdep.c (insns_match_pattern_relaxed): New function.
	(hppa_linux_in_dyncall): Check that we are inside the range of
	$$dyncall, not necessarily at the first insn.
	(hppa_linux_in_solib_call_trampoline): Identify a trampoline
	even if the pc does not point to the first insn of the trampoline.
2004-12-01 06:58:57 +00:00
Randolph Chung
8de0841b1c 2004-11-30 Randolph Chung <tausq@debian.org>
* gdb.threads/thread_check.exp: Use ${srcfile} for test program name
	instead of "tbug".  Fix regexp to work properly with gdb_test.
2004-12-01 06:56:21 +00:00
Randolph Chung
46905982ed 2004-11-30 Randolph Chung <tausq@debian.org>
* breakpoint.c (break_at_finish_command): Delete.
	(break_at_finish_command_1): Delete.
	(break_at_finish_at_depth_command): Delete.
	(break_at_finish_at_depth_command_1): Delete.
	(tbreak_at_finish_command): Delete.
	* hppa-tdep.c (_initialize_hppa_tdep): Remove deprecated xbreak, tbreak
	and bx commands.
2004-12-01 06:54:56 +00:00
Hans-Peter Nilsson
5e77bda967 Update copyright year 2004-12-01 02:32:08 +00:00
Hans-Peter Nilsson
76e417689c * Makefile.in (stamp-desc): Specify opcfile. 2004-12-01 02:30:49 +00:00
Hans-Peter Nilsson
ad6e5d2e31 * cgen.sh: New thirteenth parameter opcfile, defaulting to
/dev/null.
	<case desc>: Pass -OPC opcfile.
	* Make-common.in (cgen-desc): Pass $(opcfile) as thirteenth
	parameter to cgen.sh.
2004-12-01 02:29:30 +00:00
gdbadmin
2b99d679a6 *** empty log message *** 2004-12-01 00:00:06 +00:00
Danny Smith
02f80eef3f * scripttempl/pe.sc (.data): Add .jcr subsection. 2004-11-30 23:54:53 +00:00
Alan Modra
b3f8a860a3 daily update 2004-11-30 23:00:05 +00:00
Paul Brook
dea514f51d 2004-11-30 Paul Brook <paul@codesourcery.com>
bfd/
	* elf32-arm.c (struct elf32_arm_link_hash_table): Remove
	no_pipeline_knowledge
	(elf32_arm_link_hash_table_create): Ditto.
	(bfd_elf32_arm_process_before_allocation): Ditto.
	(elf32_arm_final_link_relocate): Ditto.  Remove oabi relocation
	handling.
	* bfd-in.h (bfd_elf32_arm_process_before_allocation): Update
	prototype.
	* bfd-in2.h: Regenerate.
ld/
	* emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
2004-11-30 17:45:54 +00:00
Nick Clifton
3211808135 Change LOCALEDIR to $(datadir)/share. 2004-11-30 17:20:48 +00:00
Andrew Cagney
a7711b1fd7 2004-11-30 Andrew Cagney <cagney@gnu.org>
* config/nm-gnu.h: Delete file.
	* config/i386/nm-i386gnu.h: Inline "config/nm-gnu.h".
2004-11-30 15:15:27 +00:00
Andrew Cagney
80b93d6b1a 2004-11-30 Andrew Cagney <cagney@gnu.org>
* config/nm-sysv4.h: Delete file.
	* config/i386/nm-i386v4.h: Inline "config/nm-sysv4.h".
	* config/i386/nm-i386v42mp.h: Inline "config/nm-sysv4.h".
	* config/i386/nm-i386sol2.h: Inline "config/nm-sysv4.h".
	* config/ia64/nm-aix.h: Inline "config/nm-sysv4.h".
	* config/mips/nm-irix5.h: Inline "config/nm-sysv4.h".
2004-11-30 15:05:20 +00:00
Richard Earnshaw
c87368acf2 * Make-common.in (sim-basics_h): Correct dependencies on
cconfig.h and tconfig.h
(sim-load.o): Correct typo in sim-basics_h dependency.
2004-11-30 13:44:13 +00:00
DJ Delorie
70615d15fb merge from gcc 2004-11-30 03:01:37 +00:00
Alan Modra
edfc032f0a * elf32-hppa.c (elf32_hppa_grok_prstatus): New function.
(elf32_hppa_grok_psinfo): New function.
	(elf_backend_grok_prstatus): Define.
	(elf_backend_grok_psinfo): Define.
2004-11-30 00:50:36 +00:00
gdbadmin
2af8501f61 *** empty log message *** 2004-11-30 00:00:33 +00:00
Alan Modra
962a81e9fd daily update 2004-11-29 23:00:05 +00:00
Andrew Cagney
31ffb2216b 2004-11-29 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Add Randolph Chung (pa), Jeff Johnston (ia64), Kei
	Sakamoto (m32r), Joel Brobecker (mips), and Ulrich Weigand (s390)
	as can-commit architecture developers.
2004-11-29 22:29:45 +00:00
Mark Kettenis
075ccec82f * sparc-tdep.c (X_RS1, X_SIMM13): New macros.
(sparc32_skip_prologue): Skip instructions that store arguments in
registers into their corresponding stack slots.
2004-11-29 19:52:44 +00:00
Tomer Levi
9019af69c4 2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* opcode/crx.h (enum operand_type): Rename rbase_cst4 to rbase_dispu4.
	Remove redundant instruction types.
	(struct argument): X_op - new field.
	(struct cst4_entry): Remove.
	(no_op_insn): Declare.
2004-11-29 16:36:50 +00:00
Tomer Levi
89a649f7ae 2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* crx-opc.c (crx_optab): Mark all rbase_disps* operands as signed.
	(no_op_insn): Initialize array with instructions that have no
	operands.
	* crx-dis.c (make_instruction): Get rid of COP_BRANCH_INS operand swapping.
2004-11-29 16:34:35 +00:00
Tomer Levi
4df39d6c81 2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
* gas/crx/br_insn.d: Fix error in expected disassembly.
2004-11-29 16:31:22 +00:00