Commit Graph

49828 Commits

Author SHA1 Message Date
Dave Anglin 9af1437233 Bug gas/1879
* gas/all/weakref1.d: Check for "$CODE$" as well as ".text".
	* gas/all/weakref1.s: Indent "-ld1 = l".
	* gas/all/weakref1g.d: Remove --no-sort option.
	* gas/all/weakref1l.d: Likewise.
	* gas/all/weakref1u.d: Likewise.  Sort expected results.
	* gas/all/weakref1w.d: Likewise.
	* gas/all/weakref2.s: Indent directives.
	* gas/all/weakref3.s: Likewise.
2005-11-20 22:03:25 +00:00
Dave Anglin f29ba31228 * som.c (som_decode_symclass): Decode BSF_WEAK symbols in the same
manner as bfd_decode_symclass.
2005-11-20 19:21:06 +00:00
Hans-Peter Nilsson 8b9b39f44a cris/traps.c (TARGET_O_RDONLY, TARGET_O_WRONLY): Define.
(open_map): Use TARGET_O_ACCMODE, TARGET_O_RDONLY and
	TARGET_O_WRONLY.
	(cris_break_13_handler) <case TARGET_SYS_fcntl>: Add support for
	F_GETFL on fd 0, 1 and 2.
2005-11-20 14:52:36 +00:00
Jim Blandy 9d29849ad8 gdb/doc/ChangeLog:
2005-11-19  Jim Blandy  <jimb@redhat.com>

	* gdb.texinfo (Tracepoint Packets): New node.
	(General Query Packets): Add entries for the tracepoint packets,
	referring to the "Tracepoint Packets" node.
	(Tracepoints): Add reference to "Tracepoint Packets".
2005-11-20 06:12:59 +00:00
gdbadmin 9fb4b40d62 *** empty log message *** 2005-11-20 00:00:02 +00:00
Alan Modra 69d7c8d861 daily update 2005-11-19 23:00:06 +00:00
Jim Blandy d194871675 2005-11-19 Jim Blandy <jimb@redhat.com>
* tracepoint.c (stringify_collection_list): Indicate absolute
	memory ranges by using "-1" as the memory range's base register
	number, not "FFFFFFFF".
2005-11-19 18:57:28 +00:00
Randolph Chung 9c23835799 2005-11-19 Randolph Chung <tausq@debian.org>
* dwarf2loc.c (dwarf2_tracepoint_var_ref): Remove extra add for
	DW_OP_fbreg.  Handle DW_OP_breg0 through DW_OP_breg31.  Print
	DWARF opcode for unsupported case.
2005-11-19 13:43:35 +00:00
Randolph Chung 27b08a0cb4 2005-11-19 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Use
	HPPA_HPUX_SS_* constants.  Ensure "off" is large enough to hold
	64-bit offset.  Set proper signal context offset for 64-bit
	programs.  Set pc properly for signal frames.
2005-11-19 12:55:55 +00:00
Randolph Chung 765697c9ec 2005-11-19 Randolph Chung <tausq@debian.org>
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Rely on the
	unwind record to determine a signal frame, instead of hardcoding
	a function name.
2005-11-19 12:47:21 +00:00
Randolph Chung c4c79048fa 2005-11-19 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (skip_prologue_hard_way): Add one more insn pattern
	for "std rp,-0x10(sp)".
	(hppa_frame_cache): Likewise.
	(hppa_fallback_frame_cache): Likewise.
2005-11-19 12:39:50 +00:00
Randolph Chung 9ed5ba2423 2005-11-19 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_frame_cache): Reformat code and enhance
	debugging.
2005-11-19 12:38:56 +00:00
Jim Blandy 6244699480 2005-11-18 Jim Blandy <jimb@redhat.com>
* tracepoint.c (collect_symbol): Doc fix.
2005-11-19 04:44:43 +00:00
Jim Blandy 0f570f537e 2005-11-18 Jim Blandy <jimb@redhat.com>
* tracepoint.c (struct memrange): Doc fix.
2005-11-19 01:23:26 +00:00
gdbadmin 7148bbdc24 *** empty log message *** 2005-11-19 00:00:34 +00:00
Alan Modra 8ed3a9967b daily update 2005-11-18 23:00:05 +00:00
Kevin Buettner 9a6253be92 * gdb.texinfo (set remotebreak): Add anchor.
(X packet): Likewise.
	(Remote Protocol): Add new section `Interrupts' and new index
	entry `interrupts (remote protocol)'.
2005-11-18 22:17:09 +00:00
Jim Blandy 5f3bebba9f * gdb.texinfo (Packets): Move information out of 'q' and 'Q'
entries into the General Query Packets section.  Add a
cross-reference to that section.  Drop description of replies, as
these are covered in the descriptions of each packet.
(General Query Packets): Add introductory text.  Explain naming
conventions, and how the end of a name is recognized.
2005-11-18 19:20:56 +00:00
Andrew Stubbs 0be75e0273 2005-11-18 Andrew Stubbs <andrew.stubbs@st.com>
* mi/mi-main.c (mi_load_progress): Ensure the use of the correct mi
	uiout for the duration of the function.
2005-11-18 17:02:14 +00:00
Jie Zhang 73562ad0c7 * config/bfin-defs.h (IS_BREG, IS_LREG): New macros.
* config/bfin-parse.y (asm_1): Check register type for load immediate
	instruction.
2005-11-18 14:21:29 +00:00
Nick Roberts a2140d4d10 (gdb-source-file-list): Declare.
(gdbmi): Bind new functions.
(gdbmi-var-list-children-handler, gdbmi-var-list-children-regexp):
Handle string expressions properly.  Move "type" field into regexp.
(gdbmi-var-update-regexp, gdbmi-var-update-handler): Handle string
expressions properly.  Update speedbar.
(gdbmi-breakpoints-buffer, gdb-stack-buffer, gdb-locals-buffer)
(gdb-registers-buffer): Use def-gdb-auto-update-trigger instead of
def-gdb-auto-updated-buffer as handlers is defined explicitly.
(gdb-stack-list-locals-handler): Handle string expressions properly.
(gdb-data-list-register-values-handler)
(gdb-data-list-register-values-custom): Fontify buffer.
2005-11-18 06:37:38 +00:00
Nick Roberts 0d983938b1 *** empty log message *** 2005-11-18 06:37:11 +00:00
Nick Roberts 8da2ba18fd *** empty log message *** 2005-11-18 06:35:02 +00:00
Alan Modra 220c76ddc0 * elf64-ppc.c (ppc64_elf_check_relocs): Don't set has_14bit_branch
on branches to same section.
2005-11-18 04:52:57 +00:00
Alan Modra 33ec65816e * ld-powerpc/symtocbase.d: Adjust for alignment change. 2005-11-18 04:41:30 +00:00
Alan Modra e87deb82cc * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
(.got, .toc1, .opd): Likewise.
2005-11-18 04:26:29 +00:00
Alan Modra 94b50910fb * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
changes to section alignment.
	* ldmisc.c (vfinfo): Handle %ld and %lu.
2005-11-18 04:12:27 +00:00
Dave Anglin d97a892405 * elf64-hppa.c (elf64_hppa_object_p): Recognize corefiles under
hppa64-hp-hpux11.11.
	(elf64_hppa_section_from_phdr): New function.
	(elf_backend_section_from_phdr): Define.
2005-11-18 00:48:50 +00:00
gdbadmin 1928f86ce1 *** empty log message *** 2005-11-18 00:00:02 +00:00
Alan Modra 747f9e06fb daily update 2005-11-17 23:00:05 +00:00
Kevin Buettner 0564b6cfcd Fix ChangeLog typo from previous commit. 2005-11-17 19:12:26 +00:00
Kevin Buettner 9a7a1b3614 * gdb.texinfo (Remote Configuration): Fix typo in description of
"set remotebreak" command.
2005-11-17 19:08:38 +00:00
Andrew Haley 02aec879c3 2005-11-17 Andrew Haley <aph@redhat.com>
* cxxfilt.c (main): Flush ouput at newline.
2005-11-17 16:58:27 +00:00
Hans-Peter Nilsson ed1f044ac6 * cris/sim-main.h (struct _sim_cpu): New members last_syscall,
last_open_fd, last_open_flags.
	* cris/traps.c: Don't include targ-vals.h.
	(TARGET_O_ACCMODE): Define.
	(cris_break_13_handler): Set new _sim_cpu members.
	<case TARGET_SYS_fcntl>: Support special case of F_GETFL.
	Rearrange code as switch.  Emit "unimplemented" abort for
	unimplemented fcntl calls.
2005-11-17 16:14:53 +00:00
Hans-Peter Nilsson 5457266c93 * cris/traps.c (TARGET_SYS_stat): Define.
(syscall_stat32_map): Add entry for TARGET_SYS_stat.
	(cris_break_13_handler) <case TARGET_SYS_stat>: New case.
2005-11-17 15:51:24 +00:00
Alexandre Oliva 461b725f29 * config/tc-ppc.c (ppc_frob_file_before_adjust): Do not reference
dotname.
* write.c (write_object_file): Do not remove used weakrefd.
2005-11-17 13:32:27 +00:00
Jan Beulich b57d375bde gas/
2005-11-17  Jan Beulich  <jbeulich@novell.com>

	* dw2gencfi.c (dot_cfi): Put argument parsing for cases
	DW_CFA_restore and DW_CFA_undefined in a loop.
2005-11-17 08:33:36 +00:00
Jan Beulich 92757bc916 gas/
2005-11-17  Jan Beulich  <jbeulich@novell.com>


	* symbols.h (S_CLEAR_VOLATILE): Declare.
	* symbols.c (colon): Also accept redefinable symbols for
	redefinition. Clone them before modifying.
	(S_CLEAR_VOLATILE): Define.
	* cond.c (s_ifdef): Also test for equated symbols.
	* read.c (s_comm_internal): Also exclude non-redefinable
	equated symbols. Clone redefinable ones before modifying.
	(s_weakref): Clone redefinable symbols before modifying.
	* doc/internals.texi: Document sy_volatile, sy_forward_ref,
	S_IS_VOLATILE, S_SET_VOLATILE, S_CLEAR_VOLATILE,
	S_IS_FORWARD_REF, and S_SET_FORWARD_REF.

gas/testsuite/
2005-11-17  Jan Beulich  <jbeulich@novell.com>

	* gas/all/cond.s: Also check ifdef works on equates and
	commons.
	* gas/all/cond.l: Adjust.
	* gas/all/redef2.s: Also test redefining equate to label.
	* gas/all/redef2.d: Adjust.
	* gas/all/redef3.[sd]: New.
	* gas/all/redef4.s: New.
	* gas/all/redef5.s: New.
	* gas/elf/redef.s: New, copied from original gas/all/redef2.s.
	* gas/elf/redef.d: Remove #source.
	* gas/all/gas.exp: Remove exclusion of iq2000-*-* from and
	adjust xfails for redefinition tests. Run new tests. Exclude
	alpha*-*-*, mips*-*-*, *c54x*-*-* from weakref tests.
2005-11-17 07:29:28 +00:00
Daniel Jacobowitz 2be701a30f 2005-11-16 Shaun Jackman <sjackman@gmail.com>
* sim/arm/armos.c: Include limits.h
	(unlink): Remove this macro. It is unused in this file and
	conflicts with sim_callback->unlink.
	(PATH_MAX): Define as 1024 if not already defined.
	(ReadFileName): New function.
	(SWIopen): Fix a potential buffer overflow.
	(SWIremove): New function.
	(SWIrename): Ditto.
	(ARMul_OSHandleSWI): Handle the RDP calls SWI_IsTTY,
	SWI_Remove, and SWI_Rename, as well as the RDI calls
	AngelSWI_Reason_IsTTY, AngelSWI_Reason_Remove, and
	AngelSWI_Reason_Rename.
2005-11-17 04:23:03 +00:00
Daniel Jacobowitz 17d43da18d * version.in: Update to 6.4.50. 2005-11-17 04:05:35 +00:00
Hans-Peter Nilsson 6a0db47ad1 * ld-mmix/sec-1.d: Adjust section order for recent ELF section
rearrangement.
2005-11-17 02:01:14 +00:00
Mark Mitchell dff7015539 * doc/binutils.texi: Include config.texi and @file documentation
for manual pages.

	* Makefile.am (gprof.info, gprof.1): Depend on config.texi.
	(config.texi): New file.
	* Makefile.in: Regenerated.

	* Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi..
	* Makefile.in: Regenerated.
	* ld.texinfo: Include configdoc.texi and ldver.texi in man pages.
	Add @file documentation.
2005-11-17 01:01:05 +00:00
Alan Modra 7b986e992e * ldlang.h (lang_input_section_type): Remove "ifile" field.
(lang_insert_orphan, lang_add_section): Update prototypes.
	* ldlang.c (lang_insert_orphan): Remove "file" param.
	(lang_add_section): Likewise.  Update all callers.
	(wild_sort): Get an input section's bfd via "section->owner".
	(size_input_section): Access just_syms_flag via bfd usrdata.
	(lang_place_orphans): Update ldemul_place_orphan call.
	* ldemul.h (ldemul_place_orphan): Remove input_statement param.
	(struct ld_emulation_xfer_struct <place_orphan>): Likewise.
	* ldemul.c (ldemul_place_orphan): Likewise.
	* ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata.
	* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
	* emultempl/beos.em (sort_by_file_name): Access bfd by section->owner.
	(sort_sections): Likewise.
	(place_orphan): Remove "file" param.  Adjust lang_add_section call.
	* emultempl/elf32.em (place_orphan): Remove "file" param.  Adjust
	lang_add_section and lang_insert_orphan calls.
	* emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust
	lang_add_section call.
	(build_section_lists): Access just_syms_flag via bfd usrdata.
	* emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust
	lang_add_section call.
	* emultempl/mmo.em (mmo_place_orphan): Remove "file" param.  Adjust
	lang_add_section and lang_insert_orphan calls.
	* emultempl/pe.em (place_orphan): Likewise.  Access bfd via section
	owner.
	* emultempl/ppc64elf.em (ppc_add_stub_section): Adjust
	lang_add_section call.
	(build_toc_list): Access just_syms_flag via bfd usrdata.
	(build_section_lists): Likewise.
	* emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file"
	param.  Adjust place_orphan call.
	(ld_build_required_section_dependence): Access bfd via section owner.
2005-11-17 00:10:05 +00:00
gdbadmin a0fef31c45 *** empty log message *** 2005-11-17 00:00:02 +00:00
Alan Modra f0f5a273a9 daily update 2005-11-16 23:00:06 +00:00
Richard Henderson a3157d8e34 * gas/all/weakref1.s: Use "=" instead of ".set" for equivalence. 2005-11-16 22:00:31 +00:00
Andrew Stubbs d91e990118 2005-11-16 Andrew Stubbs <andrew.stubbs@st.com>
* NEWS (6.4): Mention $argc.
2005-11-16 12:49:17 +00:00
Jim Blandy b8ff78cefa gdb/doc/ChangeLog:
2005-11-16  Jim Blandy  <jimb@redhat.com>

	* gdb.texinfo (Packets, Stop Reply Packets)
	(General Query Packets): Various formatting cleanups.
	- Use @samp for packet contents.
	- Drop summaries from packet @item lines; the same information appears
	  immediately below in the description.
	- Delete paragraph breaks after packet @item commands, so that the
	  description appears directly to the right of the packet prototype
	  in the printed manual, if it fits.
	- Place spaces in packet prototypes between @vars and non-@var
	  letters, and explain that they're just for formatting.
	- Use @dots{} instead of '...'.
	- Fix uses of @code where @var was needed.
	- Replace "deprecated" markers with English text spelling out the
	  packet's status and the preferred alternatives.
	- Remove "(reserved)" markers on 'A' and 'I' packets; it's unclear
	  what this ever meant.
	- Remove "(draft)" markers on 'i' packets; nobody has commented on
	  this for a long time.
	- Remove "(draft)" markers on 'z' and 'Z' packets; these have been
	  implemented several times, and have been in use for years.
2005-11-16 10:34:33 +00:00
Alan Modra bd4d42c174 * ldlang.h (lang_output_section_statement_type): Add prev.
* ldlang.c (new_afile): Always init header.type.
	(output_statement_newfunc): Set os.prev.
	(output_prev_sec_find): Use os.prev.
	(lang_enter_output_section_statement): Formatting.
	(lang_final, lang_add_target, lang_add_fill): Likewise.
	(lang_add_data, lang_add_reloc): Likewise.
	(lang_add_attribute): Only alloc the header.
2005-11-16 08:32:54 +00:00
Alan Modra 7815f84885 * config/tc-hppa.c (pa_comm): Set bfd_com_section segment. 2005-11-16 08:00:31 +00:00