gdbadmin [Sat, 19 Aug 2006 00:00:02 +0000 (00:00 +0000)]
 
*** empty log message ***
Ian Lance Taylor [Fri, 18 Aug 2006 22:29:20 +0000 (22:29 +0000)]
 
Another snapshot of the current state of the sources.  Gets to the
point of symbol resolution and can now issue a multiple definition
error.  Also added target selection infrastructure.
Fred Fish [Fri, 18 Aug 2006 18:34:18 +0000 (18:34 +0000)]
 
Reviewed and approved by Daniel Jacobowitz <dan@codesourcery.com>
	2006-08-18  Fred Fish  <fnf@specifix.com>
	* lib/gdb.exp (skip_altivec_tests): Fix apparent typo,
	'$' in front of skip_vmx_tests_saved when setting that.
Paul Brook [Fri, 18 Aug 2006 16:18:23 +0000 (16:18 +0000)]
 
Add comment missing from previous patch.
Paul Brook [Fri, 18 Aug 2006 15:00:18 +0000 (15:00 +0000)]
 
2006-08-18  Paul Brook  <paul@codesourcery.com>
	bfd/
	* elf32-arm.c (elf32_arm_link_hash_entry): Add export_glue.
	(elf32_arm_link_hash_newfunc): Initialize export_glue.
	(record_arm_to_thumb_glue): Return stub symbol.
	(elf32_arm_create_thumb_stub): New function.
	(elf32_arm_to_thumb_stub): Use it.
	(elf32_arm_to_thumb_export_stub): New function.
	(elf32_arm_begin_write_processing): New function.
	(allocate_dynrelocs): Allocate Arm stubs.
	(elf_backend_begin_write_processing): Define.
	(elf32_arm_symbian_begin_write_processing): Remove ATTRIBUTE_UNUSED.
	Call elf32_arm_begin_write_processing.
	ld/
	* emultempl/armelf.em (arm_elf_before_allocation): Call
	gld${EMULATION_NAME}_before_allocation after setting interworking bfd.
	ld/testsuite/
	* ld-arm/arm-elf.exp (armelftests): Add armthumb-lib.so.  Add
	-use-blx to mixed-lib.so
	* ld-arm/armthumb-lib.d: New file.
	* ld-arm/armthumb-lib.sym: New file.
H.J. Lu [Fri, 18 Aug 2006 14:38:00 +0000 (14:38 +0000)]
 
2006-08-18  H.J. Lu  <hongjiu.lu@intel.com>
	PR ld/3052
	* ld-elf/loadaddr.s: New file.
	* ld-elf/loadaddr1.d: Likewise.
	* ld-elf/loadaddr1.t: Likewise.
	* ld-elf/loadaddr2.d: Likewise.
	* ld-elf/loadaddr2.t: Likewise.
Daniel Jacobowitz [Fri, 18 Aug 2006 13:26:31 +0000 (13:26 +0000)]
 
	* dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR
	number in a comment.
Mark Kettenis [Fri, 18 Aug 2006 08:49:04 +0000 (08:49 +0000)]
 
* sparc-nat.c (sparc_xfer_wcookie): Signal EOF.  Tweak comment.
Daniel Jacobowitz [Fri, 18 Aug 2006 04:10:30 +0000 (04:10 +0000)]
 
	* dwarf2read.c (quirk_gcc_member_function_pointer): New.
	(read_structure_type): Call it.
gdbadmin [Fri, 18 Aug 2006 00:00:06 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Fri, 18 Aug 2006 00:00:05 +0000 (00:00 +0000)]
 
daily update
Jim Blandy [Thu, 17 Aug 2006 18:47:49 +0000 (18:47 +0000)]
 
* gdb.texinfo (Stop Reply Packets): Note similarity of 'S' and 'T'
responses.
Christopher Faylor [Thu, 17 Aug 2006 17:02:13 +0000 (17:02 +0000)]
 
* pe-dll.c (autofilter_symbolprefixlist): Remove .idata$.
(generate_reloc): Revert to skipping sections without a SEC_LOAD flag, and to
not skipping .idata* sections.
Alan Modra [Thu, 17 Aug 2006 08:21:06 +0000 (08:21 +0000)]
 
bfd/
	* elf64-ppc.c (create_linkage_sections): Align .glink to 8 bytes.
	(ppc64_elf_build_stubs): Use new lazy linking stub.
ld/testsuite/
	* ld-powerpc/tlsexe.d: Update for lazy link stub change.
	* ld-powerpc/tlsexe.r: Likewise.
	* ld-powerpc/tlsexetoc.d: Likewise.
	* ld-powerpc/tlsexetoc.r: Likewise.
	* ld-powerpc/tlsso.d: Likewise.
	* ld-powerpc/tlstocso.d: Likewise.
Alan Modra [Thu, 17 Aug 2006 08:09:52 +0000 (08:09 +0000)]
 
	* elf64-ppc.c (ppc64_elf_size_stubs): Ignore non-code sections.
H.J. Lu [Thu, 17 Aug 2006 02:04:53 +0000 (02:04 +0000)]
 
bfd/
2006-08-16  H.J. Lu  <hongjiu.lu@intel.com>
	PR ld/3015
	* elf.c (get_program_header_size): Add a PT_GNU_RELRO segment
	only if there is a PT_DYNAMIC segment.
	(_bfd_elf_map_sections_to_segments): Likewise.
	(assign_file_positions_for_load_sections): Set PT_GNU_RELRO
	segment alignment to 1.
ld/testsuite/
2006-08-16  H.J. Lu  <hongjiu.lu@intel.com>
	PR ld/3015
	* ld-elf/binutils.exp: Add tests for "-z relro".
gdbadmin [Thu, 17 Aug 2006 00:00:33 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Thu, 17 Aug 2006 00:00:07 +0000 (00:00 +0000)]
 
daily update
Daniel Jacobowitz [Wed, 16 Aug 2006 20:33:23 +0000 (20:33 +0000)]
 
	* NEWS: Mention "set trust-readonly-sections" fix.
Daniel Jacobowitz [Wed, 16 Aug 2006 18:31:03 +0000 (18:31 +0000)]
 
	* remote.c, target.c: Strip trailing whitespace.
Julian Brown [Wed, 16 Aug 2006 10:33:50 +0000 (10:33 +0000)]
 
	* config/tc-arm.c (md_assemble): Improve diagnostic when attempting
	to use ARM instructions on non-ARM-supporting cores.
	(autoselect_thumb_from_cpu_variant): New function. Switch on Thumb
	mode automatically based on cpu variant.
	(md_begin): Call above function.
Julian Brown [Wed, 16 Aug 2006 10:32:40 +0000 (10:32 +0000)]
 
	* gas/arm/noarm.s: Add test for disabled ARM insns.
	* gas/arm/noarm.d: Drive test for above.
	* gas/arm/noarm.l: Expected error output.
Julian Brown [Wed, 16 Aug 2006 10:16:29 +0000 (10:16 +0000)]
 
	* config/tc-arm.c (opcode_lookup): Allow Neon type suffixes to be
	recognized in non-unified syntax mode.
Alan Modra [Wed, 16 Aug 2006 08:31:45 +0000 (08:31 +0000)]
 
ld/
	PR 3052
	* ldlang.h (lang_output_section_statement_type): Replace
	"processed" field with "processed_vma" and "processed_lma".
	* ldlang.c (lang_do_assignments_1): Move lma setting code..
	(lang_size_sections_1): ..to here.
	(lang_reset_memory_regions): Adjust for
	lang_output_section_statement_type change.
	* ldexp.c (fold_name): Likewise.
And this is something I forgot the check in from the previous patch.
ld/testsuite/
	* ld-scripts/overlay-size-map.d: Adjust.
Alan Modra [Wed, 16 Aug 2006 00:00:05 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Wed, 16 Aug 2006 00:00:02 +0000 (00:00 +0000)]
 
*** empty log message ***
Daniel Jacobowitz [Tue, 15 Aug 2006 18:46:25 +0000 (18:46 +0000)]
 
	PR remote/1966
	* dcache.c (dcache_write_line): Use target_write.
	(dcache_read_line): Use target_read.
	* mi/mi-main.c (mi_cmd_data_read_memory): Use target_read.
	* symfile.c (struct load_section_data): Add new per-section
	members.
	(load_progress): New function.
	(load_section_callback): Pass load_progress to the new
	target_write_with_progress.
	* target.c (current_xfer_partial, memory_xfer_partial): New.
	(target_xfer_partial): New prototype.
	(target_xfer_memory, target_xfer_partial_p, xfer_using_stratum)
	(do_xfer_memory, target_xfer_memory_partial)
	(target_read_memory_partial, target_write_memory_partial): Delete.
	(trust_readonly): Move higher in the file.
	(update_current_target): Use current_xer_partial.
	(target_xfer_partial): Use memory_xfer_partial.  Handle
	TARGET_OBJECT_RAW_MEMORY specially.
	(target_read_memory): Use target_read.
	(target_write_memory): Use target_write.
	(default_xfer_partial): Call to_xfer_partial directly.
	(target_write_with_progress): New function, based on target_write.
	(target_write): Call it.
	* target.h (enum target_object): Add TARGET_OBJECT_RAW_MEMORY.
	(target_write_with_progress): New prototype.
	(do_xfer_memory, target_read_memory_partial)
	(target_write_memory_partial): Delete prototypes.
Thiemo Seufer [Tue, 15 Aug 2006 18:28:48 +0000 (18:28 +0000)]
 
	* elf32-mips.c, elf64-mips.c, elfn32-mips.c
	(elf_backend_merge_symbol_attribute): Define.
	* elflink.c (elf_link_add_object_symbols): Merge only the ELF
	visibility flags.
	* elfxx-mips.c (_bfd_mips_elf_merge_symbol_attribute): New function.
Thiemo Seufer [Tue, 15 Aug 2006 18:23:11 +0000 (18:23 +0000)]
 
	[ ChangeLog ]
	* config.sub: Add support for sde as alias of mipsisa32-sde-elf.
	[ bfd/ChangeLog ]
	* config.bfd: Add configurations for mips*el-sde-elf* and
	mips*-sde-elf*.
	[ binutils/testsuite/ChangeLog ]
	* binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*.
	[ gas/ChangeLog ]
	* configure.tgt: Handle mips*-sde-elf*.
	[ gas/testsuite/ChangeLog ]
	* gas/mips/mips.exp: Handle mips*-sde-elf*.
Daniel Jacobowitz [Tue, 15 Aug 2006 18:17:57 +0000 (18:17 +0000)]
 
	* remote.c (remote_write_bytes): Take a const buffer argument.
	Do the checks from remote_xfer_memory.
	(remote_read_bytes): Do the checks from remote_xfer_memory.
	(remote_xfer_memory): Remove checks pushed into lower level
	functions.
	(remote_xfer_partial): Call remote_write_bytes and remote_read_bytes
	directly.
	* remote.h (remote_write_bytes): Update prototype.
Nick Clifton [Tue, 15 Aug 2006 12:01:43 +0000 (12:01 +0000)]
 
PR binutils/3039
* wrstabs.c (stab_tag_type): Initialize 'size'.
Alan Modra [Tue, 15 Aug 2006 00:00:07 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Tue, 15 Aug 2006 00:00:04 +0000 (00:00 +0000)]
 
*** empty log message ***
Michael Meissner [Mon, 14 Aug 2006 23:45:59 +0000 (23:45 +0000)]
 
Fix bug 3000
DJ Delorie [Mon, 14 Aug 2006 20:05:00 +0000 (20:05 +0000)]
 
* elf-m10300.c (elf32_mn10300_link_hash_entry): Add value.
(elf32_mn10300_count_hash_table_entries): New.
(elf32_mn10300_list_hash_table_entries): New.
(sort_by_value): New.
(mn10300_elf_relax_section): Don't skip data sections; restrict
code-specific tests to code-specific areas so that potential
indirect calls can be detected.  Check for multiple local symbols
at the same address and merge their flags.
(elf32_mn10300_link_hash_newfunc): Initialize value.
Thiemo Seufer [Mon, 14 Aug 2006 12:19:20 +0000 (12:19 +0000)]
 
	* elfxx-mips.c (_bfd_mips_elf_symbol_processing,
	_bfd_mips_elf_add_symbol_hook): Don't try to place small common TLS
	symbols in .scommon.
Alan Modra [Mon, 14 Aug 2006 00:00:05 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Mon, 14 Aug 2006 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Sun, 13 Aug 2006 00:22:16 +0000 (00:22 +0000)]
 
daily update
gdbadmin [Sun, 13 Aug 2006 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
Thiemo Seufer [Sat, 12 Aug 2006 23:00:35 +0000 (23:00 +0000)]
 
	[ gas/ChangeLog ]
	* config/tc-mips.c (mips16_ip): Fix argument register handling
	for restore instruction.
	[ gas/testsuite/ChangeLog ]
	* gas/mips/mips16-save.d: Fix testcase.
Alan Modra [Sat, 12 Aug 2006 00:00:30 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Sat, 12 Aug 2006 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
Thiemo Seufer [Fri, 11 Aug 2006 14:05:12 +0000 (14:05 +0000)]
 
	* ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also
	MIPS small commons.
Thiemo Seufer [Fri, 11 Aug 2006 13:55:38 +0000 (13:55 +0000)]
 
	* elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Set
	sh_entsize only when sgot was already initialized.
Andrew Stubbs [Fri, 11 Aug 2006 12:46:03 +0000 (12:46 +0000)]
 
2006-08-11  Andrew Stubbs  <andrew.stubbs@st.com>
	* NEWS: Add 'set trace-commands' command.
Alan Modra [Fri, 11 Aug 2006 00:00:34 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Fri, 11 Aug 2006 00:00:04 +0000 (00:00 +0000)]
 
*** empty log message ***
Andrew Stubbs [Thu, 10 Aug 2006 16:06:25 +0000 (16:06 +0000)]
 
2006-08-10  Andrew Stubbs  <andrew.stubbs@st.com>
gdb/
	* cli/cli-script.c (execute_user_command): Update command_next_depth
	on user-command call.
gdb/testsuite
	* gdb.base/trace-commands.exp: New file.
Joern Rennecke [Thu, 10 Aug 2006 13:23:15 +0000 (13:23 +0000)]
 
	PR binutils/3017
	* doc/Makefile.am: Use single quotes inside backquotes for
	date command while generating config.texi.
	* doc/Makefile.in: Regenerate.
Daniel Jacobowitz [Thu, 10 Aug 2006 13:05:18 +0000 (13:05 +0000)]
 
	* gdb.base/step-bt.exp: Make hexadecimal address optional in
	expected output of the backtrace commands.
Joel Brobecker [Thu, 10 Aug 2006 05:27:22 +0000 (05:27 +0000)]
 
	* gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with
	untested followed by return combination.
	* gdb.arch/altivec-regs.exp: Likewise.
	* gdb.arch/e500-abi.exp: Likewise.
	* gdb.arch/e500-regs.exp: Likewise.
	* gdb.arch/gdb1291.exp: Likewise.
	* gdb.arch/gdb1431.exp: Likewise.
	* gdb.arch/gdb1558.exp: Likewise.
	* gdb.arch/i386-prologue.exp: Likewise.
	* gdb.arch/i386-unwind.exp: Likewise.
	* gdb.asm/asm-source.exp: Likewise.
	* gdb.base/a2-run.exp: Likewise.
	* gdb.base/advance.exp: Likewise.
	* gdb.base/all-bin.exp: Likewise.
	* gdb.base/annota1.exp: Likewise.
	* gdb.base/annota3.exp: Likewise.
	* gdb.base/args.exp: Likewise.
	* gdb.base/arithmet.exp: Likewise.
	* gdb.base/assign.exp: Likewise.
	* gdb.base/async.exp: Likewise.
	* gdb.base/attach.exp: Likewise.
	* gdb.base/bang.exp: Likewise.
	* gdb.base/bigcore.exp: Likewise.
	* gdb.base/bitfields.exp: Likewise.
	* gdb.base/bitfields2.exp: Likewise.
	* gdb.base/break.exp: Likewise.
	* gdb.base/call-sc.exp: Likewise.
	* gdb.base/call-strs.exp: Likewise.
	* gdb.base/callfuncs.exp: Likewise.
	* gdb.base/checkpoint.exp: Likewise.
	* gdb.base/chng-syms.exp: Likewise.
	* gdb.base/code-expr.exp: Likewise.
	* gdb.base/commands.exp: Likewise.
	* gdb.base/completion.exp: Likewise.
	* gdb.base/cond-expr.exp: Likewise.
	* gdb.base/condbreak.exp: Likewise.
	* gdb.base/consecutive.exp: Likewise.
	* gdb.base/constvars.exp: Likewise.
	* gdb.base/corefile.exp: Likewise.
	* gdb.base/cvexpr.exp: Likewise.
	* gdb.base/dbx.exp: Likewise.
	* gdb.base/define.exp: Likewise.
	* gdb.base/detach.exp: Likewise.
	* gdb.base/display.exp: Likewise.
	* gdb.base/dump.exp: Likewise.
	* gdb.base/ena-dis-br.exp: Likewise.
	* gdb.base/ending-run.exp: Likewise.
	* gdb.base/environ.exp: Likewise.
	* gdb.base/eval-skip.exp: Likewise.
	* gdb.base/exprs.exp: Likewise.
	* gdb.base/fileio.exp: Likewise.
	* gdb.base/finish.exp: Likewise.
	* gdb.base/float.exp: Likewise.
	* gdb.base/foll-exec.exp: Likewise.
	* gdb.base/foll-fork.exp: Likewise.
	* gdb.base/foll-vfork.exp: Likewise.
	* gdb.base/freebpcmd.exp: Likewise.
	* gdb.base/funcargs.exp: Likewise.
	* gdb.base/gcore.exp: Likewise.
	* gdb.base/gdb1090.exp: Likewise.
	* gdb.base/gdb1250.exp: Likewise.
	* gdb.base/huge.exp: Likewise.
	* gdb.base/info-proc.exp: Likewise.
	* gdb.base/interrupt.exp: Likewise.
	* gdb.base/jump.exp: Likewise.
	* gdb.base/langs.exp: Likewise.
	* gdb.base/lineinc.exp: Likewise.
	* gdb.base/list.exp: Likewise.
	* gdb.base/logical.exp: Likewise.
	* gdb.base/long_long.exp: Likewise.
	* gdb.base/macscp.exp: Likewise.
	* gdb.base/maint.exp: Likewise.
	* gdb.base/mips_pro.exp: Likewise.
	* gdb.base/miscexprs.exp: Likewise.
	* gdb.base/multi-forks.exp: Likewise.
	* gdb.base/opaque.exp: Likewise.
	* gdb.base/overlays.exp: Likewise.
	* gdb.base/pc-fp.exp: Likewise.
	* gdb.base/pointers.exp: Likewise.
	* gdb.base/printcmds.exp: Likewise.
	* gdb.base/psymtab.exp: Likewise.
	* gdb.base/ptype.exp: Likewise.
	* gdb.base/recurse.exp: Likewise.
	* gdb.base/relational.exp: Likewise.
	* gdb.base/relocate.exp: Likewise.
	* gdb.base/remote.exp: Likewise.
	* gdb.base/reread.exp: Likewise.
	* gdb.base/restore.exp: Likewise.
	* gdb.base/return.exp: Likewise.
	* gdb.base/return2.exp: Likewise.
	* gdb.base/scope.exp: Likewise.
	* gdb.base/sect-cmd.exp: Likewise.
	* gdb.base/sep.exp: Likewise.
	* gdb.base/sepdebug.exp: Likewise.
	* gdb.base/setshow.exp: Likewise.
	* gdb.base/setvar.exp: Likewise.
	* gdb.base/sigall.exp: Likewise.
	* gdb.base/sigbpt.exp: Likewise.
	* gdb.base/signals.exp: Likewise.
	* gdb.base/signull.exp: Likewise.
	* gdb.base/sizeof.exp: Likewise.
	* gdb.base/solib.exp: Likewise.
	* gdb.base/step-line.exp: Likewise.
	* gdb.base/step-test.exp: Likewise.
	* gdb.base/structs.exp: Likewise.
	* gdb.base/structs2.exp: Likewise.
	* gdb.base/term.exp: Likewise.
	* gdb.base/twice.exp: Likewise.
	* gdb.base/until.exp: Likewise.
	* gdb.base/varargs.exp: Likewise.
	* gdb.base/volatile.exp: Likewise.
	* gdb.base/watchpoint.exp: Likewise.
	* gdb.base/whatis-exp.exp: Likewise.
	* gdb.base/whatis.exp: Likewise.
	* gdb.cp/ambiguous.exp: Likewise.
	* gdb.cp/annota2.exp: Likewise.
	* gdb.cp/annota3.exp: Likewise.
	* gdb.cp/bool.exp: Likewise.
	* gdb.cp/breakpoint.exp: Likewise.
	* gdb.cp/casts.exp: Likewise.
	* gdb.cp/class2.exp: Likewise.
	* gdb.cp/classes.exp: Likewise.
	* gdb.cp/cplusfuncs.exp: Likewise.
	* gdb.cp/ctti.exp: Likewise.
	* gdb.cp/derivation.exp: Likewise.
	* gdb.cp/exception.exp: Likewise.
	* gdb.cp/gdb1355.exp: Likewise.
	* gdb.cp/hang.exp: Likewise.
	* gdb.cp/inherit.exp: Likewise.
	* gdb.cp/local.exp: Likewise.
	* gdb.cp/m-data.exp: Likewise.
	* gdb.cp/m-static.exp: Likewise.
	* gdb.cp/member-ptr.exp: Likewise.
	* gdb.cp/method.exp: Likewise.
	* gdb.cp/misc.exp: Likewise.
	* gdb.cp/namespace.exp: Likewise.
	* gdb.cp/overload.exp: Likewise.
	* gdb.cp/ovldbreak.exp: Likewise.
	* gdb.cp/pr-1023.exp: Likewise.
	* gdb.cp/pr-1210.exp: Likewise.
	* gdb.cp/pr-574.exp: Likewise.
	* gdb.cp/printmethod.exp: Likewise.
	* gdb.cp/psmang.exp: Likewise.
	* gdb.cp/ref-params.exp: Likewise.
	* gdb.cp/ref-types.exp: Likewise.
	* gdb.cp/rtti.exp: Likewise.
	* gdb.cp/templates.exp: Likewise.
	* gdb.cp/try_catch.exp: Likewise.
	* gdb.cp/userdef.exp: Likewise.
	* gdb.cp/virtfunc.exp: Likewise.
	* gdb.disasm/am33.exp: Likewise.
	* gdb.disasm/h8300s.exp: Likewise.
	* gdb.disasm/mn10300.exp: Likewise.
	* gdb.disasm/sh3.exp: Likewise.
	* gdb.disasm/t01_mov.exp: Likewise.
	* gdb.disasm/t02_mova.exp: Likewise.
	* gdb.disasm/t03_add.exp: Likewise.
	* gdb.disasm/t04_sub.exp: Likewise.
	* gdb.disasm/t05_cmp.exp: Likewise.
	* gdb.disasm/t06_ari2.exp: Likewise.
	* gdb.disasm/t07_ari3.exp: Likewise.
	* gdb.disasm/t08_or.exp: Likewise.
	* gdb.disasm/t09_xor.exp: Likewise.
	* gdb.disasm/t10_and.exp: Likewise.
	* gdb.disasm/t11_logs.exp: Likewise.
	* gdb.disasm/t12_bit.exp: Likewise.
	* gdb.disasm/t13_otr.exp: Likewise.
	* gdb.hp/gdb.aCC/optimize.exp: Likewise.
	* gdb.hp/gdb.aCC/watch-cmd.exp: Likewise.
	* gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
	* gdb.hp/gdb.base-hp/dollar.exp: Likewise.
	* gdb.hp/gdb.base-hp/hwwatchbus.exp: Likewise.
	* gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
	* gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
	* gdb.hp/gdb.base-hp/reg.exp: Likewise.
	* gdb.hp/gdb.base-hp/sized-enum.exp: Likewise.
	* gdb.hp/gdb.compat/xdb1.exp: Likewise.
	* gdb.hp/gdb.compat/xdb3.exp: Likewise.
	* gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
	* gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
	* gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
	* gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
	* gdb.mi/gdb701.exp: Likewise.
	* gdb.mi/gdb792.exp: Likewise.
	* gdb.mi/mi-basics.exp: Likewise.
	* gdb.mi/mi-break.exp: Likewise.
	* gdb.mi/mi-cli.exp: Likewise.
	* gdb.mi/mi-console.exp: Likewise.
	* gdb.mi/mi-disassemble.exp: Likewise.
	* gdb.mi/mi-eval.exp: Likewise.
	* gdb.mi/mi-file.exp: Likewise.
	* gdb.mi/mi-read-memory.exp: Likewise.
	* gdb.mi/mi-regs.exp: Likewise.
	* gdb.mi/mi-return.exp: Likewise.
	* gdb.mi/mi-simplerun.exp: Likewise.
	* gdb.mi/mi-stack.exp: Likewise.
	* gdb.mi/mi-stepi.exp: Likewise.
	* gdb.mi/mi-syn-frame.exp: Likewise.
	* gdb.mi/mi-until.exp: Likewise.
	* gdb.mi/mi-var-block.exp: Likewise.
	* gdb.mi/mi-var-child.exp: Likewise.
	* gdb.mi/mi-var-cmd.exp: Likewise.
	* gdb.mi/mi-var-display.exp: Likewise.
	* gdb.mi/mi-watch.exp: Likewise.
	* gdb.mi/mi2-basics.exp: Likewise.
	* gdb.mi/mi2-break.exp: Likewise.
	* gdb.mi/mi2-cli.exp: Likewise.
	* gdb.mi/mi2-console.exp: Likewise.
	* gdb.mi/mi2-disassemble.exp: Likewise.
	* gdb.mi/mi2-eval.exp: Likewise.
	* gdb.mi/mi2-file.exp: Likewise.
	* gdb.mi/mi2-read-memory.exp: Likewise.
	* gdb.mi/mi2-regs.exp: Likewise.
	* gdb.mi/mi2-return.exp: Likewise.
	* gdb.mi/mi2-simplerun.exp: Likewise.
	* gdb.mi/mi2-stack.exp: Likewise.
	* gdb.mi/mi2-stepi.exp: Likewise.
	* gdb.mi/mi2-syn-frame.exp: Likewise.
	* gdb.mi/mi2-until.exp: Likewise.
	* gdb.mi/mi2-var-block.exp: Likewise.
	* gdb.mi/mi2-var-child.exp: Likewise.
	* gdb.mi/mi2-var-cmd.exp: Likewise.
	* gdb.mi/mi2-var-display.exp: Likewise.
	* gdb.mi/mi2-watch.exp: Likewise.
	* gdb.stabs/exclfwd.exp: Likewise.
	* gdb.stabs/weird.exp: Likewise.
	* gdb.threads/gcore-thread.exp: Likewise.
	* gdb.trace/actions.exp: Likewise.
	* gdb.trace/backtrace.exp: Likewise.
	* gdb.trace/circ.exp: Likewise.
	* gdb.trace/collection.exp: Likewise.
	* gdb.trace/deltrace.exp: Likewise.
	* gdb.trace/infotrace.exp: Likewise.
	* gdb.trace/limits.exp: Likewise.
	* gdb.trace/packetlen.exp: Likewise.
	* gdb.trace/passc-dyn.exp: Likewise.
	* gdb.trace/passcount.exp: Likewise.
	* gdb.trace/report.exp: Likewise.
	* gdb.trace/save-trace.exp: Likewise.
	* gdb.trace/tfind.exp: Likewise.
	* gdb.trace/tracecmd.exp: Likewise.
	* gdb.trace/while-dyn.exp: Likewise.
	* gdb.trace/while-stepping.exp: Likewise.
Alan Modra [Thu, 10 Aug 2006 01:14:24 +0000 (01:14 +0000)]
 
daily update
gdbadmin [Thu, 10 Aug 2006 00:00:02 +0000 (00:00 +0000)]
 
*** empty log message ***
Joel Brobecker [Wed, 9 Aug 2006 16:50:04 +0000 (16:50 +0000)]
 
    * NEWS: Add entry for new substitute-path commands.
Mike Frysinger [Wed, 9 Aug 2006 00:52:31 +0000 (00:52 +0000)]
 
2006-08-08  Peter S. Mazinger  <ps.m@gmx.net>
	* emulparams/armelf.sh (MAXPAGESIZE): Changed to
	"CONSTANT (MAXPAGESIZE)".
Alan Modra [Wed, 9 Aug 2006 00:27:48 +0000 (00:27 +0000)]
 
daily update
gdbadmin [Wed, 9 Aug 2006 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
Joel Brobecker [Tue, 8 Aug 2006 22:18:22 +0000 (22:18 +0000)]
 
    * gdb.texinfo (Source Path): Add documentation for new
        substitute-path commands.
Joel Brobecker [Tue, 8 Aug 2006 22:06:06 +0000 (22:06 +0000)]
 
    * source.c: #include gdb_assert.h.
        (substitute_path_rule): New struct.
        (substitute_path_rules): New static global variable.
        (substitute_path_rule_matches): New function.
        (get_substitute_path_rule): New function.
        (rewrite_source_path): New function.
        (find_and_open_source): Add source path rewriting support.
        (strip_trailing_directory_separator): New function.
        (find_substitute_path_rule): New function.
        (add_substitute_path_rule): New function.
        (delete_substitute_path_rule): New function.
        (show_substitute_path_command): New function.
        (unset_substitute_path_command): New function.
        (set_substitute_path_command): New function.
        (_initialize_source): Add new substitute-path commands.
        * Makefile.in (source.o): Add dependency on gdb_assert.h.
Joel Brobecker [Tue, 8 Aug 2006 21:50:54 +0000 (21:50 +0000)]
 
    * gdb.base/step-bt.c: New file.
        * gdb.base/step-bt.exp: New testcase.
Joel Brobecker [Tue, 8 Aug 2006 21:36:46 +0000 (21:36 +0000)]
 
    * i386-tdep.c (i386_follow_jump): Use read_memory_nobpt to read
        instructions.
        (i386_analyze_struct_return): Likewise.
        (i386_skip_probe): Likewise.
        (i386_match_insn): Likewise.
        (i386_analyze_frame_setup): Likewise.
        (i386_analyze_register_saves): Likewise.
        (i386_skip_prologue): Likewise.
Joel Brobecker [Tue, 8 Aug 2006 21:32:48 +0000 (21:32 +0000)]
 
    * gdbcore.h (read_memory_nobpt): New function name instead of
        deprecated_read_memory_nobpt.
        * breakpoint.c (read_memory_nobpt): New function name instead
        of deprecated_read_memory_nobpt.
        Adjust calls to old deprecated_read_memory_nobpt accordingly.
        * alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt
        accordingly.
        * alphanbsd-tdep.c: Likewise.
        * frame.c: Likewise.
        * frv-tdep.c: Likewise.
        * hppa-linux-tdep.c: Likewise.
        * hppa-tdep.c: Likewise.
        * i386-linux-nat.c: Likewise.
        * m68klinux-tdep.c: Likewise.
        * mips-tdep.c: Likewise.
        * s390-tdep.c: Likewise.
Daniel Jacobowitz [Tue, 8 Aug 2006 20:32:15 +0000 (20:32 +0000)]
 
Commit missed files from last patch.
Daniel Jacobowitz [Tue, 8 Aug 2006 20:26:23 +0000 (20:26 +0000)]
 
gdb/
	* configure.ac: Check for expat.
	* acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies.
	* Makefile.in (LIBEXPAT): New.
	(CLIBS): Include $(LIBEXPAT).
	* README: Mention expat.
	* configure, config.in: Regenerated.
gdb/doc/
	* gdb.texinfo (Installing GDB): Update menu.  Move text to...
	(Running Configure): ...here.
	(Requirements): New node.  Mention expat.
Bob Wilson [Tue, 8 Aug 2006 19:09:34 +0000 (19:09 +0000)]
 
gas/ChangeLog:
	* dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): New.
	(out_sleb128): New.
	(out_fixed_inc_line_addr): New.
	(process_entries): Use out_fixed_inc_line_addr when
	DWARF2_USE_FIXED_ADVANCE_PC is set.
	* config/tc-xtensa.h (DWARF2_USE_FIXED_ADVANCE_PC): Define.
gas/testsuite/ChangeLog:
	* gas/lns/lns-common-1-alt.d: New file.
	* gas/lns/lns.exp: Use lns-common-1-alt.d for xtensa targets.
Daniel Jacobowitz [Tue, 8 Aug 2006 18:57:25 +0000 (18:57 +0000)]
 
gdb/
	* config/sparc/embed.mt: New file.
	* configure.tgt (sparc-*-rtems*): Use embed.mt.
sim/
	* configure.ac (sparc-*-rtems*|sparc-*-elf*): Enable erc32 simulator.
	* Makefile.in (FLAGS_TO_PASS): Include libdir.
	* configure: Regenerated.
sim/erc32/
	* Makefile.in (func.o, help.o): Correct dependencies.
	* Makefile.in (install-sis): Honor DESTDIR.
Daniel Jacobowitz [Tue, 8 Aug 2006 17:39:10 +0000 (17:39 +0000)]
 
	* Makefile.in (objfiles.o, symfile.o): Update.
	* objfiles.c: Include "expression.h" and "parser-defs.h".
	(free_objfile): Clear global blocks.
	* symfile.c: Include "parser-defs.h".
	(clear_symtab_users): Clear global blocks.
DJ Delorie [Tue, 8 Aug 2006 17:21:55 +0000 (17:21 +0000)]
 
* elf32-sh.c (sh_elf_relax_section): Allow for branches across
non-moving .align directives.  Preserve any DIR32 offset when
converting bsr's to jsr's.
DJ Delorie [Tue, 8 Aug 2006 17:21:04 +0000 (17:21 +0000)]
 
* config/tc-sh.c (sh_frob_section): Canonicalize pointers to local
vs full symbols so that we never have more than one pointer value
for any given symbol in our symbol table.
H.J. Lu [Tue, 8 Aug 2006 16:08:47 +0000 (16:08 +0000)]
 
2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
	PR ld/3006
	* ldlang.c (lang_section_bst_type): Moved to ...
	* ldlang.h: Here.
	* ldlang.h (lang_wild_statement_struct): Add a tree field.
	* ldlang.c (wild_sort_fast): Use the tree field for BST.
	(wild): Likeise.
	(analyze_walk_wild_section_handler): Initialize the tree field.
Thiemo Seufer [Tue, 8 Aug 2006 16:05:13 +0000 (16:05 +0000)]
 
	* breakpoint.c (update_breakpoints_after_exec): Fix type mismatch.
Richard Sandiford [Tue, 8 Aug 2006 16:03:29 +0000 (16:03 +0000)]
 
gdb/gdbserver/
	* server.c (terminal_fd): New variable.
	(old_foreground_pgrp): Likewise.
	(restore_old_foreground_pgrp): New function.
	(start_inferior): Record the terminal file descriptor in terminal_fd
	and its original foreground group in old_foreground_pgrp.  Register
	restore_old_foreground_pgrp with atexit().
Daniel Jacobowitz [Tue, 8 Aug 2006 15:48:08 +0000 (15:48 +0000)]
 
gdb/
	* symfile.c (download_write_size): Remove.
	(show_download_write_size): Remove.
	(load_section_callback): Don't use download_write_size.
	(_initialize_symfile): Don't register download_write_size.
	* NEWS: Mention 'download-write-size' removal.
gdb/doc/
	* gdb.texinfo (Target Commands): Remove
	'set download-write-size' and 'show download-write-size'.
gdb/testsuite/
	* config/monitor.exp (gdb_load): Remove support for obsolete
	download-write-size.
	* gdb.base/remote.exp: Likewise.  Update all callers of
	gdb_timed_load.
H.J. Lu [Tue, 8 Aug 2006 15:07:16 +0000 (15:07 +0000)]
 
ld/
2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
	PR ld/3009
	* ldlang.c (update_wild_statements): Update the whole wild
	section list.
ld/testsuite/
2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
	PR ld/3009
	* ld-scripts/sort.t: New file.
	* ld-scripts/sort_b_a-1.d: Likewise.
	* ld-scripts/sort_b_a-1.s: Likewise.
	* ld-scripts/sort_b_n-1.d: Likewise.
	* ld-scripts/sort_b_n-1.s: Likewise.
Alan Modra [Tue, 8 Aug 2006 14:21:46 +0000 (14:21 +0000)]
 
	* elf64-ppc.c (ppc64_elf_build_stubs): Clear relbrlt reloc_count
	after stubs have been built.
Nick Clifton [Tue, 8 Aug 2006 09:43:10 +0000 (09:43 +0000)]
 
PR binutils/2768
* dwarf.c (display_debug_aranges): When the address size is greater than 4
  display addresses and lengths as 16 hex digits, otherwise use 8 hex digits.
Nick Clifton [Tue, 8 Aug 2006 08:29:08 +0000 (08:29 +0000)]
 
* dwarf2dbg.c (out_debug_info): Add new parameter ranges_seg and emit
  DW_AT_ranges when code in compilation unit is not contiguous.
  (out_debug_abbrev): Emit DW_AT_ranges abbreviation if code in is not contiguous.
  (dwarf2_finish): Create and pass ranges_seg to out_debug_info.
  (out_debug_ranges): New function to emit .debug_ranges section when code is not contiguous.
Nick Clifton [Tue, 8 Aug 2006 08:23:25 +0000 (08:23 +0000)]
 
* config/tc-arm.c (WARN_DEPRECATED): Enable.
gdbadmin [Tue, 8 Aug 2006 00:00:35 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Tue, 8 Aug 2006 00:00:08 +0000 (00:00 +0000)]
 
daily update
Nick Clifton [Mon, 7 Aug 2006 14:03:35 +0000 (14:03 +0000)]
 
* elf32-sh.c (vxworks_object_p): Only check for vxworks target vectors if
  they are going to be created.
Nick Clifton [Mon, 7 Aug 2006 11:04:37 +0000 (11:04 +0000)]
 
Fix typo in bfd_elf32_shnbsd_vec target list.
Nick Clifton [Mon, 7 Aug 2006 10:26:08 +0000 (10:26 +0000)]
 
* coff-arm.c (coff_arm_rtype_to_howto): Only check for ARM_SECREL relocation types if the target is ARM_WINCE
Daniel Jacobowitz [Mon, 7 Aug 2006 03:30:54 +0000 (03:30 +0000)]
 
	* expprint.c (print_subexp_standard, dump_subexp_body_standard): Add
	support for member pointers.
gdbadmin [Mon, 7 Aug 2006 00:00:35 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Mon, 7 Aug 2006 00:00:06 +0000 (00:00 +0000)]
 
daily update
Nick Clifton [Sun, 6 Aug 2006 15:49:46 +0000 (15:49 +0000)]
 
 PR binutils/3001
* addr2line.c (process_file): Change function from void to returning an int.  Return 0 upon success, 1 otherwise.
 (main): Use return value from process_file as the exit value.
* ar.c (ranlib_only):  Change function from void to returning an int.  Return 0 upon success, 1 otherwise.
  (ranlib_touch): Likewise.
  (main): Use return value from ranlib functions as exit value.
* objcopy.c (add_specific_symbol): Set status to 1 if get_file_size fails.
  (copy_file): Likewise.
  (strip_main): Likewise.
  (copy_main): Likewise.
* objdump.c (display_file): Set exit_status to 1 if get_file_size fails.
* size.c (display_file): Set return_code to 1 if get_file_size fails.
Nick Clifton [Sun, 6 Aug 2006 15:15:36 +0000 (15:15 +0000)]
 
* gas/arm/thumb2_add.s: Don't use elf specific ".type" pseudo-op.
Nick Clifton [Sun, 6 Aug 2006 15:11:08 +0000 (15:11 +0000)]
 
* gas/arm/wince.s: New test.
* gas/arm/wince.d: New test.
Nick Clifton [Sun, 6 Aug 2006 15:04:23 +0000 (15:04 +0000)]
 
* bfd.c (bfd_get_sign_extend_vma): Add cases for pe-arm-little and pei-arm-little.
* coff-arm.c (coff_arm_rtype_to_howto) [COFF_WITH_PE]: Handle ARM_SECREL.
  (coff_arm_reloc_type_lookup): Map BFD_RELOC_32_SECREL to  ARM_SECREL.
* pe-arm.c [COFF_SECTION_ALIGNMENT_ENTRIES]: Define.
* pei-arm.c [TARGET_UNDERSCORE]: Define for ARM_WINCE like in pe-arm.c.
  [COFF_SECTION_ALIGNMENT_ENTRIES]: Define.
* config/tc-arm.c: Move "dwarf2dbg.h" inclusion out of OBJ_ELF only block.
  (pe_directive_secrel) [TE_PE]: New function.
  (md_pseudo_table) [!OBJ_ELF]: Handle 2byte, 4byte, 8byte, file, loc, loc_mark_labels.
  [TE_PE]: Handle secrel32.
  (output_relax_insn): Remove OBJ_ELF around dwarf2_emit_insn call.
  (output_inst): Remove OBJ_ELF around dwarf2_emit_insn call.
  (arm_frob_label): Remove OBJ_ELF around dwarf2_emit_label call.
  (md_section_align): Only round section sizes here for AOUT targets.
  (tc_arm_regname_to_dw2regnum): Move out for OBJ_ELF only block.
  (tc_pe_dwarf2_emit_offset): New function.
  (md_apply_fix) [TE_PE]: Handle BFD_RELOC_32_SECREL.
  (cons_fix_new_arm): Handle O_secrel.
* config/tc-arm.h : Move DWARF2_LINE_MIN_INSN_LENGTH, DWARF2_DEFAULT_RETURN_COLUMN and DWARF2_CIE_DATA_ALIGNMENT out of OBJ_ELF only block.
  [TE_PE]: Define O_secrel, TC_DWARF2_EMIT_OFFSET, and declare tc_pe_dwarf2_emit_offset.
* ld-pe/pe.exp: Enable tests on arm-wince-pe.
* ld-pe/secrel.d: Adjust test to work on arm-wince-pe too.
Mike Frysinger [Sun, 6 Aug 2006 05:24:32 +0000 (05:24 +0000)]
 
fix my name
Mike Frysinger [Sun, 6 Aug 2006 05:23:16 +0000 (05:23 +0000)]
 
2006-08-04  Nick Clifton  <nickc@redhat.com>
	    Mike Frysinger  <michael.frysing@analog.com>
	* scripttempl/elf.sc (USER_LABEL_PREFIX): Define.
	(__preinit_array_start, __preinit_array_end, __init_array_start,
	__init_array_end, __fini_array_start, __fini_array_end, edata, end):
	Use ${USER_LABEL_PREFIX}.
	* emulparams/bfin.sh (DATA_END_SYMBOLS,END_SYMBOLS): Unset.
	(USER_LABEL_PREFIX): Set.
gdbadmin [Sun, 6 Aug 2006 00:00:34 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Sun, 6 Aug 2006 00:00:06 +0000 (00:00 +0000)]
 
daily update
Alan Modra [Sat, 5 Aug 2006 00:00:07 +0000 (00:00 +0000)]
 
daily update
gdbadmin [Sat, 5 Aug 2006 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
Ian Lance Taylor [Fri, 4 Aug 2006 23:20:34 +0000 (23:20 +0000)]
 
Include <cassert>
Ian Lance Taylor [Fri, 4 Aug 2006 23:10:59 +0000 (23:10 +0000)]
 
Initial CVS checkin of gold
Nick Clifton [Fri, 4 Aug 2006 14:53:26 +0000 (14:53 +0000)]
 
* ldmain.c (main): Initialise print_gc_sections field of link_info structure.
* lexsup.c: Add --print-gc-sections and --no-print-gc-sections switches.
* ld.texinfo: Document new switches.
* NEWS: Mention new switches.
* bfdlink.h (struct bfd_link_info): New field: print_gc_sections.
* elflink.c (elf_gc_sweep): If info.print_gc_sections is true, list removed sections to stderr.