H.J. Lu [Thu, 22 Jul 2004 18:09:02 +0000 (18:09 +0000)]
 
2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>
	* gas/i386/x86-64-inval.l: Remove the leading `+'.
Nick Clifton [Thu, 22 Jul 2004 16:52:43 +0000 (16:52 +0000)]
 
Fix for PR 280 - remove duplicated raw insn output fron h8300/h8500 disassemblers
H.J. Lu [Thu, 22 Jul 2004 15:06:32 +0000 (15:06 +0000)]
 
2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>
	* elflink.c (elf_fixup_link_order): Add _() to error message.
H.J. Lu [Thu, 22 Jul 2004 14:19:04 +0000 (14:19 +0000)]
 
bfd/
2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>
	* elflink.c (elf_fixup_link_order): Issue a warning and flag
	an error if failed.
ld/
2004-07-22  H.J. Lu  <hongjiu.lu@intel.com>
	* ld-scripts/crossref.exp: XFAIL ia64-*-* on the first test.
Nick Clifton [Thu, 22 Jul 2004 10:45:40 +0000 (10:45 +0000)]
 
oops - omitted from previous delta
Michael Chastain [Thu, 22 Jul 2004 09:56:42 +0000 (09:56 +0000)]
 
2004-07-22  Michael Chastain  <mec.gnu@mindspring.com>
	Test for PR exp/1715.
	* gdb.base/radix.exp: Refactor common procedures.  Make all
	test names unique.  Change XFAIL to KFAIL.
Andrew Cagney [Thu, 22 Jul 2004 01:31:49 +0000 (01:31 +0000)]
 
2004-07-21  Andrew Cagney  <cagney@gnu.org>
	Use regcache_raw_supply instead of supply_register.
	* regcache.h (supply_register): Delete declaration.
	* regcache.c (supply_register): Delete function.
	* wince.c (do_child_fetch_inferior_registers): Update.
	* win32-nat.c (do_child_fetch_inferior_registers)
	(fetch_elf_core_registers): Update.
	* v850ice.c (v850ice_fetch_registers): Update.
	* thread-db.c (thread_db_store_registers): Update.
	* sol-thread.c (sol_thread_store_registers): Update.
	* shnbsd-tdep.c (shnbsd_supply_reg): Update.
	* rs6000-nat.c (fetch_register): Update.
	* rom68k-rom.c (rom68k_supply_one_register): Update.
	* remote.c (remote_wait, remote_async_wait): Update.
	* remote-st.c (get_hex_regs): Update.
	* remote-sim.c (gdbsim_fetch_register): Update.
	* remote-sds.c (sds_fetch_registers): Update.
	* remote-rdp.c (remote_rdp_fetch_register): Update.
	* remote-rdi.c (arm_rdi_fetch_registers): Update.
	* remote-mips.c (mips_wait, mips_fetch_registers): Update.
	* remote-m32r-sdi.c (m32r_fetch_register): Update.
	* remote-hms.c (init_hms_cmds): Update.
	* remote-est.c (init_est_cmds): Update.
	* remote-e7000.c (get_hex_regs, fetch_regs_from_dump)
	(e7000_fetch_registers, sub2_from_pc, e7000_wait): Update.
	* ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_supply_fpreg): Update.
	* ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
	(fetch_register, supply_vrregset, supply_vrregset)
	(fetch_spe_registers): Update.
	* ppc-bdm.c (bdm_ppc_fetch_registers): Update.
	* monitor.c (monitor_supply_register): Update.
	* mipsv4-nat.c (supply_gregset, supply_fpregset): Update.
	* mipsnbsd-tdep.c (mipsnbsd_supply_reg)
	(mipsnbsd_supply_fpreg): Update.
	* mips-nat.c (fetch_inferior_registers)
	(fetch_core_registers): Update.
	* mips-linux-tdep.c (supply_32bit_reg, supply_gregset)
	(supply_fpregset, mips64_supply_gregset)
	(mips64_supply_fpregset): Update.
	* m68klinux-nat.c (fetch_register, supply_gregset)
	(supply_fpregset): Update.
	* m68k-tdep.c (supply_gregset, supply_fpregset): Update.
	* m32r-rom.c (init_m32r_cmds, init_mon2000_cmds): Update.
	* lynx-nat.c (fetch_inferior_registers, fetch_core_registers): Update.
	* irix5-nat.c (supply_gregset, supply_fpregset): Update.
	* infptrace.c (fetch_register): Update.
	* ia64-linux-nat.c (supply_gregset, supply_fpregset): Update.
	* ia64-aix-nat.c (supply_gregset, supply_fpregset): Update.
	* i386gnu-nat.c (fetch_fpregs, supply_gregset)
	(gnu_fetch_registers, gnu_store_registers): Update.
	* i386-nto-tdep.c (i386nto_supply_gregset): Update.
	* i386-linux-nat.c (fetch_register, supply_gregset)
	(dummy_sse_values): Update.
	* hpux-thread.c (hpux_thread_fetch_registers): Update.
	* hppah-nat.c (fetch_register): Update.
	* hppa-linux-nat.c (fetch_register, supply_gregset)
	(supply_fpregset): Update.
	* go32-nat.c (fetch_register): Update.
	* dve3900-rom.c (fetch_bitmapped_register)
	(_initialize_r3900_rom): Update.
	* cris-tdep.c (supply_gregset): Update.
	* abug-rom.c (init_abug_cmds): Update.
	* core-aout.c (fetch_core_registers): Update.
	* armnbsd-nat.c (supply_gregset, supply_fparegset)
	(fetch_register, fetch_fp_register): Update.
	* arm-linux-nat.c (fetch_nwfpe_single, fetch_nwfpe_none)
	(fetch_nwfpe_extended, fetch_fpregister, fetch_fpregs)
	(fetch_register, fetch_regs, supply_gregset, supply_fpregset): Update.
	* alphanbsd-tdep.c (fetch_core_registers): Update.
	* alpha-tdep.c (alpha_supply_int_regs, alpha_supply_fp_regs): Update.
	* alpha-nat.c (fetch_osf_core_registers)
	(fetch_osf_core_registers, fetch_osf_core_registers): Update.
	* aix-thread.c (supply_gprs64, supply_reg32, supply_fprs)
	(supply_sprs64, supply_sprs32, fetch_regs_kernel_thread): Update.
gdbadmin [Thu, 22 Jul 2004 00:00:02 +0000 (00:00 +0000)]
 
*** empty log message ***
Jim Wilson [Wed, 21 Jul 2004 19:21:41 +0000 (19:21 +0000)]
 
knetbsd/kfreebsd patches from Robert Millan.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
* ltconfig: Likewise.
* ltcf-c.sh: Likewise.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.
Nick Clifton [Wed, 21 Jul 2004 18:18:04 +0000 (18:18 +0000)]
 
For DefaultSize instructions, don't guess a 'q'	suffix if the instruction
doesn't support it.
DJ Delorie [Wed, 21 Jul 2004 17:27:07 +0000 (17:27 +0000)]
 
merge from gcc
Andrew Cagney [Wed, 21 Jul 2004 16:17:56 +0000 (16:17 +0000)]
 
2004-07-21  Andrew Cagney  <cagney@gnu.org>
	* PROBLEMS: Mention breakpoints/1702.
	* NEWS: For signal trampolines, cite s390 GNU/Linux as a system
	that is known to work.
Nick Clifton [Wed, 21 Jul 2004 16:09:43 +0000 (16:09 +0000)]
 
Corrections for x86_64 assembly.
H.J. Lu [Wed, 21 Jul 2004 15:46:22 +0000 (15:46 +0000)]
 
Update BFD_VERSION_DATE to 
20040721.
H.J. Lu [Wed, 21 Jul 2004 15:42:58 +0000 (15:42 +0000)]
 
bfd/
2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>
	* aout-adobe.c (aout_32_section_already_linked): Defined.
	* aout-target.h (MY_section_already_linked): Likewise.
	* aout-tic30.c (MY_section_already_linked): Likewise.
	* binary.c (binary_section_already_linked): Likewise.
	* bout.c (b_out_section_already_linked): Likewise.
	* coff-alpha.c (_bfd_ecoff_section_already_linked): Likewise.
	* coff-mips.c (_bfd_ecoff_section_already_linked): Likewise.
	* coffcode.h (coff_section_already_linked): Likewise.
	* i386msdos.c (msdos_section_already_linked): Likewise.
	* i386os9k.c (os9k_section_already_linked): Likewise.
	* ieee.c (ieee_section_already_linked): Likewise.
	* ihex.c (ihex_section_already_linked): Likewise.
	* mach-o.c (bfd_mach_o_section_already_linked): Likewise.
	* mmo.c (mmo_section_already_linked): Likewise.
	* nlm-target.h (nlm_section_already_linked): Likewise.
	* oasys.c (oasys_section_already_linked): Likewise.
	* pef.c (bfd_pef_section_already_linked): Likewise.
	* ppcboot.c (ppcboot_section_already_linked): Likewise.
	* som.c (som_bfd_discard_group): Likewise.
	* srec.c (srec_section_already_linked): Likewise.
	* tekhex.c (tekhex_section_already_linked): Likewise.
	* versados.c (versados_section_already_linked): Likewise.
	* vms.c (vms_section_already_linked): Likewise.
	* coff-target.h (_bfd_xcoff_section_already_linked): Likewise.
	* xsym.c (bfd_sym_section_already_linked): Likewise.
	* bfd-in.h (bfd_section_already_linked_table_init): New.
	(bfd_section_already_linked_table_free): Likewise.
	* coff-rs6000.c (rs6000coff_vec): Add
	_bfd_generic_section_already_linked.
	(pmac_xcoff_vec): Likewise.
	* coff64-rs6000.c (rs6000coff64_vec): Likewise.
	(aix5coff64_vec): Likewise.
	* elf-bfd.h (_bfd_elf_section_already_linked): New prototype.
	* elflink.c (_bfd_elf_section_already_linked): New function.
	* elfxx-target.h (bfd_elfNN_section_already_linked): Defined.
	* libbfd-in.h (_bfd_nolink_section_already_linked): Defined.
	(_bfd_generic_section_already_linked): New.
	(bfd_section_already_linked_hash_entry): Likewise.
	(bfd_section_already_linked): Likewise.
	(bfd_section_already_linked_table_lookup): Likewise.
	(bfd_section_already_linked_table_insert): Likewise.
	* linker.c (bfd_section_already_linked): New.
	(_bfd_section_already_linked_table): Likewise.
	(bfd_section_already_linked_table_lookup): Likewise.
	(bfd_section_already_linked_table_insert): Likewise.
	(already_linked_newfunc): Likewise.
	(bfd_section_already_linked_table_init): Likewise.
	(bfd_section_already_linked_table_free): Likewise.
	(_bfd_generic_section_already_linked): Likewise.
	* section.c (bfd_section): Remove comdat.
	(bfd_comdat_info): Moved to ...
	* bfd-in.h (coff_comdat_info): Here.
	(bfd_coff_get_comdat_section): New.
	* coffgen.c (bfd_coff_get_comdat_section): Likewise.
	* libcoff-in.h (coff_section_tdata): Add comdat.
	* coffcode.h (handle_COMDAT): Updated.
	* cofflink.c (coff_link_add_symbols): Likewise.
	* ecoff.c (bfd_debug_section): Likewise.
	* targets.c (bfd_target): Add _section_already_linked.
	(BFD_JUMP_TABLE_LINK): Updated.
	* bfd-in2.h: Regenerated.
	* libbfd.h: Likewise.
	* libcoff.h: Likewise.
binutils/
2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>
	* objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
	to access comdat.
	* objdump.c (dump_section_header): Likewise.
ld/
2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>
	* ldlang.c (already_linked_hash_entry): Removed.
	(already_linked): Likewise.
	(already_linked_table): Likewise.
	(section_already_linked): Call bfd_section_already_linked.
	(lang_process): Replace already_linked_table_init with
	bfd_section_already_linked_table_init and check return. Replace
	already_linked_table_free with bfd_section_already_linked_table_free.
Nick Clifton [Wed, 21 Jul 2004 15:05:46 +0000 (15:05 +0000)]
 
(init_os): Make sure that the newly allocated userdata structure is zeroed out.
Andrew Cagney [Wed, 21 Jul 2004 14:23:37 +0000 (14:23 +0000)]
 
2004-07-21  Andrew Cagney  <cagney@gnu.org>
	* config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate.
	* mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update.
	* infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro.
	(handle_inferior_event): Wrap call to deprecated
	IGNORE_HELPER_CALL in #ifdef.
	* config/mips/tm-nbsd.h: Update.
Paul Brook [Wed, 21 Jul 2004 13:32:26 +0000 (13:32 +0000)]
 
	* elflink.c (elf_get_linked_section_vma, compare_link_order,
	elf_fixup_link_order): New functions.
	(bfd_elf_final_link): Call elf_fixup_link_order.
Alexandre Oliva [Wed, 21 Jul 2004 06:46:20 +0000 (06:46 +0000)]
 
* elf-bfd.h (ELF_COMMON_DEF_P): New.
* elflink.c (_bfd_elf_symbol_refs_local_p): Use it to handle
common definitions.
* elf-m10300.c: Use SYMBOL_REFERENCES_LOCAL instead of
_bfd_elf_symbol_refs_local_p.
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove hack for common
symbols.
gdbadmin [Wed, 21 Jul 2004 00:00:02 +0000 (00:00 +0000)]
 
*** empty log message ***
Michael Chastain [Tue, 20 Jul 2004 23:11:21 +0000 (23:11 +0000)]
 
2004-07-20  Michael Chastain  <mec.gnu@mindspring.com>
	* gdb.ada/gnat_ada.gpr.in: Rename from here ...
	* gdb.ada/gnat_ada.gin: ... to here.
	* configure.in: Use gnat_ada.gin.
	* configure: Regenerate.
Jim Blandy [Tue, 20 Jul 2004 22:09:53 +0000 (22:09 +0000)]
 
* rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
bfd_mach_ppc has no segment registers.
Jim Blandy [Tue, 20 Jul 2004 22:08:37 +0000 (22:08 +0000)]
 
Include PowerPC SPR numbers for special-purpose registers.
* rs6000-tdep.c (struct reg): Add new member, 'spr_num'.
(R, R4, R8, R16, F, P, R32, R64, R0): Include value for
new member in initializer.
(S, S4, SN4, S64): New macros for defining special-purpose
registers.
(PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power,
registers_403, registers_403GC, registers_505, registers_860,
registers_601, registers_602, registers_603, registers_604,
registers_750, registers_e500): Use them.
Jim Blandy [Tue, 20 Jul 2004 22:06:05 +0000 (22:06 +0000)]
 
* rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
replace references with expression used to initialize variable.
Andrew Cagney [Tue, 20 Jul 2004 19:59:26 +0000 (19:59 +0000)]
 
2004-07-20  Andrew Cagney  <cagney@gnu.org>
	* gdb.base/signals.exp: Replace send_gdb and gdb_expect with
	gdb_test and gdb_test_multiple.  Delete bash_bug.  Delete suspect
	XFAILs.  Clean up test messages and comments.  Check backtraces.
	Delete re-sync code.
Andrew Cagney [Tue, 20 Jul 2004 19:45:07 +0000 (19:45 +0000)]
 
2004-07-20  Andrew Cagney  <cagney@gnu.org>
	* breakpoint.c (deprecated_read_memory_nobpt): Rename
	read_memory_nobpt.
	* sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update.
	* s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p)
	(s390_sigtramp_frame_sniffer): Update.
	* mn10300-tdep.c (mn10300_analyze_prologue): Update.
	* mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update.
	* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
	(mips32_fetch_instruction): Update.
	* mcore-tdep.c (get_insn): Update.
	* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update.
	* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update.
	* i386ly-tdep.c (i386lynx_saved_pc_after_call): Update.
	* i386-linux-tdep.c (i386_linux_sigtramp_start)
	(i386_linux_rt_sigtramp_start): Update.
	* i386-linux-nat.c (child_resume): Update.
	* hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update.
	* hppa-linux-tdep.c (insns_match_pattern): Update.
	* gdbcore.h: Update.
	* frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update.
	* frame.c (safe_frame_unwind_memory): Update.
	* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update.
	* alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update.
	* alpha-tdep.c (alpha_read_insn): Update.
Maciej W. Rozycki [Tue, 20 Jul 2004 18:02:09 +0000 (18:02 +0000)]
 
* gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the test
expects load delay slots.
Maciej W. Rozycki [Tue, 20 Jul 2004 17:59:00 +0000 (17:59 +0000)]
 
opcodes/
* mips-opc.c (mips_builtin_opcodes): Move coprocessor 2
move/branch operations to the bottom so that VR5400 multimedia
instructions take precedence in disassembly.
gas/testsuite/
* gas/mips/vr5400.d: Update for a correct disassembly of
"racm.ob".
Maciej W. Rozycki [Tue, 20 Jul 2004 17:55:02 +0000 (17:55 +0000)]
 
* config/tc-mips.c (append_insn): Handle constant expressions with
no associated relocation.
(mips_ip): Cancel the expression after use for the Q format
specifier.
(parse_relocation): Return no relocation for unsupported
operators.
(my_getSmallExpression): Return no relocation if no relocation
operators are used.
Maciej W. Rozycki [Tue, 20 Jul 2004 17:49:31 +0000 (17:49 +0000)]
 
opcodes/
* mips-opc.c (mips_builtin_opcodes): Remove the MIPS32
ISA-specific "break" encoding.
gas/testsuite/
* gas/mips/mips32.s: Adjust for the unified "break" syntax.  Add
another "break" case.  Update the comment accordingly.
* gas/mips/set-arch.s: Likewise.
* gas/mips/mips32.d: Adjust for the new output.
* gas/mips/set-arch.d: Likewise.
Andrew Cagney [Tue, 20 Jul 2004 15:11:37 +0000 (15:11 +0000)]
 
2004-07-20  Andrew Cagney  <cagney@gnu.org>
	* tramp-frame.h (struct tramp_frame): Change "insn" to a struct
	containing both bytes and mask.  Add "frame_type".
	* tramp-frame.c (tramp_frame_start): Update.
	(tramp_frame_prepend_unwinder): Update.
	* mips-linux-tdep.c (mips_linux_o32_sigframe)
	(mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe)
	(mips_linux_n64_rt_sigframe): Update.  Make "static const".
	* ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update.
Dave Anglin [Tue, 20 Jul 2004 03:07:08 +0000 (03:07 +0000)]
 
	* config/obj-som.c (adjust_stab_sections): Add prototype.
	(obj_som_compiler, obj_som_version, obj_som_copyright,
	adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
	* config/tc-hppa.c (update_subspace):  Likewise.
	(is_defined_subspace): Amplify comment.
	* config/obj-som.h (som_frob_file): Add prototype.
Michael Chastain [Tue, 20 Jul 2004 00:26:35 +0000 (00:26 +0000)]
 
Argh, I screwed up and committed a ChangeLog entry for a patch
that is still in the comment period.  Sorry!
Michael Chastain [Tue, 20 Jul 2004 00:24:41 +0000 (00:24 +0000)]
 
2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
	Fix PR cli/740.
	* gdb.base/annota1.exp: Honor gdb,nosignals.
	* gdb.base/annota3.exp: Likewise.
gdbadmin [Tue, 20 Jul 2004 00:00:02 +0000 (00:00 +0000)]
 
*** empty log message ***
Michael Chastain [Mon, 19 Jul 2004 21:33:53 +0000 (21:33 +0000)]
 
2004-07-19  Michael Chastain  <mec.gnu@mindspring.com>
	* lib/java.exp: Update copyright notice.
H.J. Lu [Mon, 19 Jul 2004 19:15:43 +0000 (19:15 +0000)]
 
2004-07-19  Christopher Faylor  <cgf@timesys.com>
	    H.J. Lu  <hongjiu.lu@intel.com>
	* subsegs.c (section_symbol): Don't create a new segment when
	existing segment is undefined.
H.J. Lu [Mon, 19 Jul 2004 19:14:51 +0000 (19:14 +0000)]
 
2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
	* NEWS: Mention the new --add-needed/--no-add-needed and
	--as-needed/--no-as-needed options.
Eli Zaretskii [Mon, 19 Jul 2004 18:42:39 +0000 (18:42 +0000)]
 
Add remapping for bfd/elf32-cr*.c,
bfd/elf32-sh-symbian.c, bfd/elf32-sh64-com.c,
sim/testsuite/sim/mips/hilo-hazard-[123].s, and
sim/testsuite/sim/mips/fpu64-ps-sb1.s.
H.J. Lu [Mon, 19 Jul 2004 16:40:52 +0000 (16:40 +0000)]
 
bfd/
2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
	* bfd-in.h (dynamic_lib_link_class): Add DYN_NO_ADD_NEEDED and
	DYN_NO_NEEDED.
	(bfd_elf_get_dyn_lib_class): New prototype.
	* elf.c (bfd_elf_get_dyn_lib_class): New function.
	* elflink.c (elf_link_add_object_symbols): Check DYN_AS_NEEDED,
	DYN_DT_NEEDED and DYN_NO_NEEDED bits to see if a DT_NEEDED
	entry is needed. Issue an error if a DT_NEEDED entry is needed
	for a file marked DYN_NO_NEEDED.
	(elf_link_check_versioned_symbol): Check the DYN_DT_NEEDED bit
	for DT_NEEDED tags.
	* bfd-in2.h: Regenerated.
ld/
2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
	* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
	check the add_needed field.
	(dt_needed): New struct.
	(gld${EMULATION_NAME}_try_needed): Change the first argument
	to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
	bit in the file where the DT_NEEDED entry comes from.
	(gld${EMULATION_NAME}_search_needed): Change the second
	argument to a pointer to struct dt_needed.
	(gld${EMULATION_NAME}_check_ld_so_conf): Updated.
	(gld${EMULATION_NAME}_after_open): Likewise.
	* ld.texinfo: Add --add-needed document.
	* ldlang.c (new_afile): Set p->add_needed.
	* ldlang.h (lang_input_statement_type): Add add_needed field.
	* ldmain.h (add_needed): Declare.
	* ldmain.c (add_needed): New global var.
	* lexsup.c (option_values): Add OPTION_ADD_NEEDED and
	OPTION_NO_ADD_NEEDED.
	(ld_options): Likewise.
	(parse_args): Handle them.
Andrew Cagney [Mon, 19 Jul 2004 13:58:21 +0000 (13:58 +0000)]
 
2004-07-19  Andrew Cagney  <cagney@gnu.org>
	* gdb.base/selftest.exp: Copy file from here ...
	* gdb.gdb/selftest.exp: ... to here.
gdbadmin [Mon, 19 Jul 2004 00:00:04 +0000 (00:00 +0000)]
 
*** empty log message ***
Andrew Cagney [Sun, 18 Jul 2004 22:29:40 +0000 (22:29 +0000)]
 
GRR, commit was lost.
gdbadmin [Sun, 18 Jul 2004 00:00:02 +0000 (00:00 +0000)]
 
*** empty log message ***
Andrew Cagney [Sat, 17 Jul 2004 14:46:39 +0000 (14:46 +0000)]
 
2004-07-17  Andrew Cagney  <cagney@gnu.org>
	* README: Update to 6.2.
Andrew Cagney [Sat, 17 Jul 2004 14:42:01 +0000 (14:42 +0000)]
 
2004-07-17  Andrew Cagney  <cagney@gnu.org>
	* utils.c (xvasprintf): Call xstrvprintf.
Andrew Cagney [Sat, 17 Jul 2004 14:27:55 +0000 (14:27 +0000)]
 
2004-07-17  Andrew Cagney  <cagney@gnu.org>
	* parse.c: Update copyright.
	(null_post_parser): Eliminate ARGSUSED.
Andrew Cagney [Sat, 17 Jul 2004 14:24:07 +0000 (14:24 +0000)]
 
2004-07-17  Andrew Cagney  <cagney@gnu.org>
	* ppc-linux-nat.c (store_spe_registers): Eliminate K&R C.
	* tui/tui-win.c (tui_get_cmd_list): Ditto.
	* symfile-mem.c (_initialize_symfile_mem): Ditto.
Andrew Cagney [Sat, 17 Jul 2004 14:15:30 +0000 (14:15 +0000)]
 
2004-07-17  Andrew Cagney  <cagney@gnu.org>
	* ppc-linux-tdep.c (ppc_linux_init_abi): Add [sic] to Linux.
	* ppc-linux-nat.c: Use "Linux kernel".
	* hppa-linux-tdep.c: Use GNU/Linux.
	* hppa-linux-nat.c: Use GNU/Linux.
	* dwarfread.c: Add [sic] to use of Linux.
Andrew Cagney [Sat, 17 Jul 2004 13:58:56 +0000 (13:58 +0000)]
 
2004-07-17  Andrew Cagney  <cagney@gnu.org>
	* hppa-linux-nat.c: Do not include <string.h>.
	(supply_fpregset): Remove "register" attribute.
Andrew Cagney [Sat, 17 Jul 2004 13:53:48 +0000 (13:53 +0000)]
 
2004-07-17  Andrew Cagney  <cagney@gnu.org>
	* solib-frv.c (fetch_loadmap): Use xfree, not free.
Eli Zaretskii [Sat, 17 Jul 2004 12:25:40 +0000 (12:25 +0000)]
 
(Edit): Fix markup of EDITOR and improve wording.
(Search, Expressions, Arrays, Variables, Data, Machine Code)
(Auto Display): Improve indexing.
Mark Kettenis [Sat, 17 Jul 2004 11:24:26 +0000 (11:24 +0000)]
 
* configure.in: Define _MSE_INT_H on Solaris 9 too.
* configure, config.in: Regenerated.
Mark Kettenis [Sat, 17 Jul 2004 11:03:49 +0000 (11:03 +0000)]
 
* vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
"bsd-kvm.h".
(vaxbsd_supply_pcb): New function.
(_initialize_vaxbsd_nat): New prototype and function.
* config/vax/nbsdaout.mh (NATDEPFILES): Add bsd-kvm.o, solib.o and
solib-sunos.o.
(LOADLIBES): New variable.
* config/vax/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/vax/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* Makefile.in (vaxbsd-nat.o): Update dependencies.
Andrew Cagney [Sat, 17 Jul 2004 03:25:11 +0000 (03:25 +0000)]
 
Index: ChangeLog
2004-07-16  Andrew Cagney  <cagney@gnu.org>
	* defs.h (event_loop_p): Replace variable declaration with macro,
	always 1.
	* main.c (captured_main): Delete options "-async" and "-noasync".
	(event_loop_p): Delete variable.
	* NEWS: Mention that "-async" and "-noasync" were removed.
Index: doc/ChangeLog
2004-07-16  Andrew Cagney  <cagney@gnu.org>
	* gdb.texinfo (Mode Options): Delete documentation on "-async" and
	"-noasync".
Andrew Cagney [Sat, 17 Jul 2004 02:03:00 +0000 (02:03 +0000)]
 
2004-07-16  Andrew Cagney  <cagney@redhat.com>
	* lib/insight-support.exp: Delete file.
	* lib/java.exp (java_init): Fix copyright.
gdbadmin [Sat, 17 Jul 2004 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
Andrew Cagney [Fri, 16 Jul 2004 22:21:52 +0000 (22:21 +0000)]
 
2004-07-16  Andrew Cagney  <cagney@gnu.org>
	* gdb.base/restore.c: Append "prologue" to comments marking the a
	function's prologue.
	* gdb.base/restore.exp: Update copyright, re-indent.
	(restore_tests): Use gdb_test_multiple.  Add "calleeN calls
	callerN" prefix where needed.  Update patterns that match a
	function's prologue.
Richard Earnshaw [Fri, 16 Jul 2004 22:12:26 +0000 (22:12 +0000)]
 
* config/tc-arm.c: Include include/opcode/arm.h.
(ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
(FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
(FPU_ARCH_*): Delete.
* Makefile.am: Update dependencies.
* Makefile.in: Regenerate.
Michael Chastain [Fri, 16 Jul 2004 22:02:02 +0000 (22:02 +0000)]
 
2004-07-16  Michael Chastain  <mec.gnu@mindspring.com>
	* gdb.base/restore.c: Add copyright notice.
Richard Earnshaw [Fri, 16 Jul 2004 21:59:35 +0000 (21:59 +0000)]
 
* arm.h: Remove all old content.  Replace with architecture defines
from gas/config/tc-arm.c.
Andrew Cagney [Fri, 16 Jul 2004 21:16:48 +0000 (21:16 +0000)]
 
2004-07-16  Andrew Cagney  <cagney@gnu.org>
	* remote-m32r-sdi.c: Re-indent.
Jim Blandy [Fri, 16 Jul 2004 20:54:29 +0000 (20:54 +0000)]
 
* ppc-tdep.h (ppc_spr_asr): Add missing OEA SPR.
(ppc_spr_mi_dbcam, ppc_spr_mi_dbram0, ppc_spr_mi_dbram1)
(ppc_spr_md_cam, ppc_spr_md_ram0, ppc_spr_md_ram1): Add
missing MPC823 SPRs.
(ppc_spr_m_twb): Renamed from ppc_spr_md_twb; the old name was
incorrect.  (This was corrected in GDB's register name tables on
2004-07-14.)
Jim Blandy [Fri, 16 Jul 2004 20:53:06 +0000 (20:53 +0000)]
 
* rs6000-tdep.c (registers_602): Correct register name: "esassr"
should be "esasrr" ("ESA Save and Restore Register").
Andrew Cagney [Fri, 16 Jul 2004 19:41:48 +0000 (19:41 +0000)]
 
2004-07-16  Andrew Cagney  <cagney@gnu.org>
	* infrun.c (insert_step_resume_breakpoint): Delete gdb_assert
	calls, no longer applicable.  Update comments and rename parameter
	"step_frame" to "return_frame".
Andrew Cagney [Fri, 16 Jul 2004 19:08:42 +0000 (19:08 +0000)]
 
2004-07-16  Andrew Cagney  <cagney@gnu.org>
	* gdb.base/logical.exp: Update copyright.
	(evaluate): New procedure.  Use to re-implement tests using
	several tables.
Andrew Cagney [Fri, 16 Jul 2004 19:00:12 +0000 (19:00 +0000)]
 
2004-07-16  Andrew Cagney  <cagney@gnu.org>
	* frame.c (fprint_field): New function.
	(fprint_frame_id): Use fprint_field.
Nick Clifton [Fri, 16 Jul 2004 11:14:33 +0000 (11:14 +0000)]
 
oops - omitted from previous delta
gdbadmin [Fri, 16 Jul 2004 00:00:03 +0000 (00:00 +0000)]
 
*** empty log message ***
Joel Brobecker [Thu, 15 Jul 2004 23:49:42 +0000 (23:49 +0000)]
 
	* ada-lang.c (ada_language_defn): Remove commented out code.
Paul N. Hilfinger [Thu, 15 Jul 2004 22:13:48 +0000 (22:13 +0000)]
 
Replace entry for 2004-06-02 with more detailed log entries.
Add missing notice that ada-tasks.c has been removed to 2004-07-09 entry.
Nick Clifton [Thu, 15 Jul 2004 16:26:41 +0000 (16:26 +0000)]
 
Accept armbe as a big-endian arm configuration.
Nick Clifton [Thu, 15 Jul 2004 15:11:56 +0000 (15:11 +0000)]
 
Support MAP directive
Nick Clifton [Thu, 15 Jul 2004 14:04:31 +0000 (14:04 +0000)]
 
gas/h8300/h8300.exp (do_h8300hn_addressgen): Addition of new test case for
 H8300H normal target to check symbol address generation.
gas/h8300/symaddgen.s: New test.
Jim Blandy [Thu, 15 Jul 2004 08:02:36 +0000 (08:02 +0000)]
 
* ppc-tdep.h (struct gdbarch_tdep): New member: ppc_sr0_regnum.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize it.
gdbadmin [Thu, 15 Jul 2004 00:00:33 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Thu, 15 Jul 2004 00:00:05 +0000 (00:00 +0000)]
 
daily update
Jim Blandy [Wed, 14 Jul 2004 23:58:04 +0000 (23:58 +0000)]
 
* rs6000-tdep.c (COMMON_UISA_NOFP_REGS): Delete; unused.
Jim Blandy [Wed, 14 Jul 2004 23:18:09 +0000 (23:18 +0000)]
 
* ppc-tdep.h (ppc_num_vrs): New enum constant.
Jim Blandy [Wed, 14 Jul 2004 23:15:30 +0000 (23:15 +0000)]
 
* ppc-tdep.h (ppc_num_srs): New enum constant.
Jim Blandy [Wed, 14 Jul 2004 23:13:13 +0000 (23:13 +0000)]
 
* ppc-tdep.h (ppc_spr_mq, ppc_spr_xer, ppc_spr_rtcu, ppc_spr_rtcl)
(ppc_spr_lr, ppc_spr_ctr, ppc_spr_cnt, ppc_spr_dsisr, ppc_spr_dar)
(ppc_spr_dec, ppc_spr_sdr1, ppc_spr_srr0, ppc_spr_srr1)
(ppc_spr_eie, ppc_spr_eid, ppc_spr_nri, ppc_spr_sp, ppc_spr_cmpa)
(ppc_spr_cmpb, ppc_spr_cmpc, ppc_spr_cmpd, ppc_spr_icr)
(ppc_spr_der, ppc_spr_counta, ppc_spr_countb, ppc_spr_cmpe)
(ppc_spr_cmpf, ppc_spr_cmpg, ppc_spr_cmph, ppc_spr_lctrl1)
(ppc_spr_lctrl2, ppc_spr_ictrl, ppc_spr_bar, ppc_spr_vrsave)
(ppc_spr_sprg0, ppc_spr_sprg1, ppc_spr_sprg2, ppc_spr_sprg3)
(ppc_spr_ear, ppc_spr_tbl, ppc_spr_tbu, ppc_spr_pvr)
(ppc_spr_spefscr, ppc_spr_ibat0u, ppc_spr_ibat0l, ppc_spr_ibat1u)
(ppc_spr_ibat1l, ppc_spr_ibat2u, ppc_spr_ibat2l, ppc_spr_ibat3u)
(ppc_spr_ibat3l, ppc_spr_dbat0u, ppc_spr_dbat0l, ppc_spr_dbat1u)
(ppc_spr_dbat1l, ppc_spr_dbat2u, ppc_spr_dbat2l, ppc_spr_dbat3u)
(ppc_spr_dbat3l, ppc_spr_ic_cst, ppc_spr_ic_adr, ppc_spr_ic_dat)
(ppc_spr_dc_cst, ppc_spr_dc_adr, ppc_spr_dc_dat, ppc_spr_dpdr)
(ppc_spr_dpir, ppc_spr_immr, ppc_spr_mi_ctr, ppc_spr_mi_ap)
(ppc_spr_mi_epn, ppc_spr_mi_twc, ppc_spr_mi_rpn, ppc_spr_mi_cam)
(ppc_spr_mi_ram0, ppc_spr_mi_ram1, ppc_spr_md_ctr, ppc_spr_m_casid)
(ppc_spr_md_ap, ppc_spr_md_epn, ppc_spr_md_twb, ppc_spr_md_twc)
(ppc_spr_md_rpn, ppc_spr_m_tw, ppc_spr_md_dbcam, ppc_spr_md_dbram0)
(ppc_spr_md_dbram1, ppc_spr_ummcr0, ppc_spr_upmc1, ppc_spr_upmc2)
(ppc_spr_usia, ppc_spr_ummcr1, ppc_spr_upmc3, ppc_spr_upmc4)
(ppc_spr_zpr, ppc_spr_pid, ppc_spr_mmcr0, ppc_spr_pmc1)
(ppc_spr_sgr, ppc_spr_pmc2, ppc_spr_dcwr, ppc_spr_sia)
(ppc_spr_mmcr1, ppc_spr_pmc3, ppc_spr_pmc4, ppc_spr_sda)
(ppc_spr_tbhu, ppc_spr_tblu, ppc_spr_dmiss, ppc_spr_dcmp)
(ppc_spr_hash1, ppc_spr_hash2, ppc_spr_icdbdr, ppc_spr_imiss)
(ppc_spr_esr, ppc_spr_icmp, ppc_spr_dear, ppc_spr_rpa)
(ppc_spr_evpr, ppc_spr_cdbcr, ppc_spr_tsr, ppc_spr_602_tcr)
(ppc_spr_403_tcr, ppc_spr_ibr, ppc_spr_pit, ppc_spr_esasrr)
(ppc_spr_tbhi, ppc_spr_tblo, ppc_spr_srr2, ppc_spr_sebr)
(ppc_spr_srr3, ppc_spr_ser, ppc_spr_hid0, ppc_spr_dbsr)
(ppc_spr_hid1, ppc_spr_iabr, ppc_spr_dbcr, ppc_spr_iac1)
(ppc_spr_dabr, ppc_spr_iac2, ppc_spr_dac1, ppc_spr_dac2)
(ppc_spr_l2cr, ppc_spr_dccr, ppc_spr_ictc, ppc_spr_iccr)
(ppc_spr_thrm1, ppc_spr_pbl1, ppc_spr_thrm2, ppc_spr_pbu1)
(ppc_spr_thrm3, ppc_spr_pbl2, ppc_spr_fpecr, ppc_spr_lt)
(ppc_spr_pir, ppc_spr_pbu2): New enum constants for PowerPC
special-purpose register numbers.
Jim Blandy [Wed, 14 Jul 2004 23:00:59 +0000 (23:00 +0000)]
 
* rs6000-tdep.c (registers_860): Correct register name.  (No PPC
manual mentions 'md_twb', but many mention 'm_twb', and at that
point in the register list.)
Dave Anglin [Wed, 14 Jul 2004 20:07:41 +0000 (20:07 +0000)]
 
	* elflink.c (elf_section_complain_discarded): Don't complain in
	.PARISC.unwind.
Martin Hunt [Wed, 14 Jul 2004 18:55:22 +0000 (18:55 +0000)]
 
2004-07-14  Martin Hunt  <hunt@redhat.com>
	* lib/insight-support.exp (gdbtk_start): Unset TCL_LIBRARY
	which fixes some problems where init.tcl was not found.
Andrew Cagney [Wed, 14 Jul 2004 16:47:46 +0000 (16:47 +0000)]
 
2004-07-14  Andrew Cagney  <cagney@gnu.org>
	* utils.c (internal_warning_problem): Fix typo, "internal-warning"
	instead of "internal-error".
Nick Clifton [Wed, 14 Jul 2004 08:53:59 +0000 (08:53 +0000)]
 
Revert previous delta - the bug had already been fixed.
gdbadmin [Wed, 14 Jul 2004 00:00:32 +0000 (00:00 +0000)]
 
*** empty log message ***
Alan Modra [Wed, 14 Jul 2004 00:00:05 +0000 (00:00 +0000)]
 
daily update
DJ Delorie [Tue, 13 Jul 2004 21:10:23 +0000 (21:10 +0000)]
 
merge from gcc
Nick Clifton [Tue, 13 Jul 2004 18:56:38 +0000 (18:56 +0000)]
 
(make_import_fixup): Use bfd_get_32 to correct for endian-ness of extracted
addend.
Nick Clifton [Tue, 13 Jul 2004 17:31:15 +0000 (17:31 +0000)]
 
Add support for  & | << >> ~  arithmetic operators in Intel mode
Andrew Cagney [Tue, 13 Jul 2004 17:08:36 +0000 (17:08 +0000)]
 
2004-07-13  Andrew Cagney  <cagney@gnu.org>
	* gdb.base/sizeof.exp: Skip test when no inferior I/O.
	(check_sizeof, check_valueof): Do not include the output in the
	test name.  Use gdb_test.
	(get_valueof): Use gdb_test_multiple.
Nick Clifton [Tue, 13 Jul 2004 16:56:09 +0000 (16:56 +0000)]
 
* ld-h8300/h8300.exp: Addition of gcsection test case.
* ld-h8300/gcsection.s: New test source file.
* ld-h8300/gcsection.d: New test expected disassembly file.
Nick Clifton [Tue, 13 Jul 2004 16:46:51 +0000 (16:46 +0000)]
 
* dllwrap.c: Replace 'program_name' with 'prog_name' to avoid conflicts with
  exported global defined in bucomm.h.
  (deduce_name): Rename parameter 'program_name' to 'name' to avoid shadowing
  the global defined in bucomm.h.
Nick Clifton [Tue, 13 Jul 2004 16:28:05 +0000 (16:28 +0000)]
 
Fix typo in comment
Andrew Cagney [Tue, 13 Jul 2004 16:25:46 +0000 (16:25 +0000)]
 
2004-07-13  Andrew Cagney  <cagney@gnu.org>
	* gdb.base/step-test.exp: Update copyright.  Use
	gdb_test_multiple.  Ensure that test names do not include
	architecture dependent output.
Nick Clifton [Tue, 13 Jul 2004 16:17:28 +0000 (16:17 +0000)]
 
Delete vtable tests
Nick Clifton [Tue, 13 Jul 2004 15:34:41 +0000 (15:34 +0000)]
 
fix typo
Andrew Cagney [Tue, 13 Jul 2004 14:36:44 +0000 (14:36 +0000)]
 
2004-07-13  Andrew Cagney  <cagney@gnu.org>
	* gdb.gdb/observer.exp: Update copyright.
	(setup_test): Use gdb_test_multiple.
	(attach_first_observer, attach_second_observer)
	(attach_third_observer, detach_first_observer)
	(detach_second_observer, detach_third_observer)
	(reset_counters, check_counters): Make $message a prefix.
	(test_normal_stop_notifications): Add "args" parameter - a list of
	init functions to be called.  Make $message a prefix,
	(test_observer_normal_stop): Change the message prefixes so that
	they are unique, pass the attach / detach procedures to
	test_normal_stop_notifications.
Andrew Cagney [Tue, 13 Jul 2004 13:44:01 +0000 (13:44 +0000)]
 
2004-07-13  Andrew Cagney  <cagney@gnu.org>
	* gdb.base/signull.exp (test_segv): Prefix all tests with
	"${name}".  Clean up test messages.