Commit Graph

49634 Commits

Author SHA1 Message Date
Alan Modra e43168cce0 daily update 2005-10-31 23:00:05 +00:00
Christopher Faylor 3ee6f62373 Change child_ to win32_ throughout.
* win32-nat.c (win32_ops): New variable.
(win32_so_ops): Ditto.
(psapi_get_dll_name): Make function static.
(struct so_stuff): Delete.
(struct lm_info): New struct.
(solib_start, solib_end): Redefine as struct so_list.
(safe_symbol_file_add_stub): Use so_list rather than so_stuff.
(register_loaded_dll): Ditto.  Special-case ntdll.dll.  Fill in lm_info field
of so_list with information previously stored in so_stuff.
(get_image_name): Make function static.
(max_dll_name_len): Make variable static.
(win32_free_so): New function.
(win32_current_sos): Ditto.
(win32_relocate_section_addresses): Ditto.
(handle_unload_dll): Use so_list rather than so_stuff.  Call free_so to delete
shared library.
(solib_address): Delete function.
(child_solib_loaded_library_pathname): Ditto.
(win32_clear_solib): Rename from child_clear_solibs.  Use so_list rather than
so_stuff.  Just clear win32-specific stuff.
(get_relocated_section_addrs): Delete.
(solib_symbols_add): Ditto.
(info_dll_command): Make static.  Use lm_info field from so_list to retrieve
load address.
(fake_create_process): Make function static.
(win32_xfer_memory): Ditto.
(win32_kill_inferior): Ditto.
(win32_resume): Ditto.
(cygwin_pid_to_str): Ditto.
(do_initial_win32_stuff): Use win32_ops rather than deprecated_child_ops.
(child_detach): Ditto.
(win32_mourn_inferior): Ditto.
(_initialize_win32_nat): Ditto.
(init_win32_ops): Ditto.  Fill out win32_so_ops and set current_target_so_ops
to win32_so_ops.
(core_dll_symbols_add): Delete.
(map_single_dll_code_section): Ditto.
(dll_code_sections_add): Ditto.
(core_section_load_dll_symbols): Ditto.
(child_solib_add): Ditto.
2005-10-31 22:50:58 +00:00
Mark Kettenis 31d3fb18aa * gdb.asm/asm-source.exp: Use -e instead of --entry. 2005-10-31 20:33:22 +00:00
Andrew Stubbs bbe6b987a5 2005-10-31 Andrew Stubbs <andrew.stubbs@st.com>
* tui/tui-command.c (tui_dispatch_ctrl_char): Test output of
	getenv() before using it.
2005-10-31 19:11:35 +00:00
DJ Delorie fb10537e39 merge from gcc 2005-10-31 18:01:19 +00:00
Mark Kettenis e52b687cc5 * gdb.base/bfp-test.exp: Properly anchor gdb_multiple_test usage. 2005-10-31 16:00:46 +00:00
Alan Modra 9a2ff3f50c * arm-dis.c (print_insn): Warning fix. 2005-10-31 06:10:33 +00:00
Hans-Peter Nilsson 6f72d99d8b PR ld/1501
* ld-mmix/bpo-10.d: Adjust for empty-section-removal.
2005-10-31 04:08:40 +00:00
gdbadmin 49958b7d4f *** empty log message *** 2005-10-31 00:00:33 +00:00
Alan Modra 5bf8685ce9 daily update 2005-10-30 23:00:06 +00:00
Mark Mitchell a55ff675f9 * as.c (show_usage): Document "@FILE".
* gprof.c (usage): Document "@FILE".

	* lexsup.c (help): Document "@FILE".
2005-10-30 18:08:52 +00:00
H.J. Lu 9e5169a8fa ld/
binutils/
opcodes/

2005-10-30  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.am: Run "make dep-am".
	* Makefile.in: Regenerated.

	* dep-in.sed: Replace " ./" with " ".
2005-10-30 17:40:28 +00:00
H.J. Lu b177c45ccf 2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (OBJ_FORMATS): Remove vms.
	Run "make dep-am".
	* Makefile.in: Regenerated.

	* dep-in.sed: Replace " ./" with " ".
2005-10-30 17:27:34 +00:00
gdbadmin 5f522e1e04 *** empty log message *** 2005-10-30 00:00:35 +00:00
H.J. Lu be69087561 2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
	* Makefile.in: Regenerated.

	* dep-in.sed: Replace " ./" with " ".
2005-10-29 23:47:42 +00:00
H.J. Lu 9b8181460d 2005-10-29 H.J. Lu <hongjiu.lu@intel.com>
* hpux-core.c: Include <machine/reg.h> only if HPUX_CORE is
	define.
	* osf-core.c: Include <sys/core.h> only if OSF_CORE is defined.
	* sco5-core.c: Include <sys/paccess.h> and <sys/region.h> only
	if SCO5_CORE is defined.
2005-10-29 23:00:12 +00:00
Alan Modra 6906ad7f1f daily update 2005-10-29 23:00:06 +00:00
Mark Kettenis d275c05160 * hppa-tdep.h (HPPA_INSN_SIZE): New define.
* hppa-hpux-tdep.c (hppa_hpux_search_pattern)
(hppa64_hpux_search_dummy_call_sequence): Rewrite to avoid
assumption on sizeof(unsigned).
2005-10-29 21:31:45 +00:00
Mark Kettenis 7c35e3f307 * inf-ttrace.c (inf_ttrace_wait): Comment out TARGET_WAITKIND_EXEC
code; return TARGET_WAITKIND_STOPPED instead.
2005-10-29 21:22:39 +00:00
Mark Kettenis 62d8ad4fd4 * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2005-10-29 21:16:20 +00:00
Hans-Peter Nilsson a329c72357 PR gas/1630
* gas/all/gas.exp <weakref1, weakref1g, weakref1l, weakref1u,
	weakref1w>: Xfail for cris-*-* and mmix-*-*.
2005-10-29 10:54:08 +00:00
Alan Modra 93ab6b05c3 daily update 2005-10-29 00:00:05 +00:00
gdbadmin 3b86368e68 *** empty log message *** 2005-10-29 00:00:04 +00:00
Dave Brolley 79e59fe67b 2005-10-28 Dave Brolley <brolley@redhat.com>
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate.

        Contribute the following changes:
        2003-09-29  Dave Brolley  <brolley@redhat.com>

        * frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
        CGEN_ATTR_VALUE_TYPE.
        * mloop.in: Ditto.
        * pipeline.c: Ditto.
        * traps.c: Ditto.
2005-10-28 19:58:11 +00:00
Dave Brolley fb53f5a81a 2005-10-28 Dave Brolley <brolley@redhat.com>
* All CGEN-generated sources: Regenerate.

        Contribute the following changes:
        2005-09-19  Dave Brolley  <brolley@redhat.com>

        * disassemble.c (disassemble_init_for_target): Add 'break' to case for
        bfd_arch_tic4x. Use cgen_bitset_create and cgen_bitset_set for
        bfd_arch_m32c case.

        2005-02-16  Dave Brolley  <brolley@redhat.com>

        * cgen-dis.in: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
        cgen_isa_mask_* to cgen_bitset_*.
        * cgen-opc.c: Likewise.

        2003-11-28  Richard Sandiford  <rsandifo@redhat.com>

        * cgen-dis.in (print_insn_@arch@): Fix comparison with cached isas.
        * *-dis.c: Regenerate.

        2003-06-05  DJ Delorie  <dj@redhat.com>

        * cgen-dis.in (print_insn_@arch@): Copy prev_isas, don't assign
        it, as it may point to a reused buffer. Set prev_isas when we
        change cpus.

        2002-12-13  Dave Brolley  <brolley@redhat.com>

        * cgen-opc.c (cgen_isa_mask_create): New support function for
        CGEN_ISA_MASK.
        (cgen_isa_mask_init): Ditto.
        (cgen_isa_mask_clear): Ditto.
        (cgen_isa_mask_add): Ditto.
        (cgen_isa_mask_set): Ditto.
        (cgen_isa_supported): Ditto.
        (cgen_isa_mask_compare): Ditto.
        (cgen_isa_mask_intersection): Ditto.
        (cgen_isa_mask_copy): Ditto.
        (cgen_isa_mask_combine): Ditto.
        * cgen-dis.in (libiberty.h): #include it.
        (isas): Renamed from 'isa' and now (CGEN_ISA_MASK *).
        (print_insn_@arch@): Use CGEN_ISA_MASK and support functions.
        * Makefile.am (CGENDEPS): Add utils-cgen.scm and attrs.scm.
        * Makefile.in: Regenerated.
2005-10-28 19:49:22 +00:00
Dave Brolley 16175d96a0 2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following changes:
        2003-09-29  Dave Brolley  <brolley@redhat.com>

        * dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
        more exotic underlying types to be used.
2005-10-28 19:41:01 +00:00
Dave Brolley ea5ca089fd 2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following changes:
        2005-02-16  Dave Brolley  <brolley@redhat.com>

        * cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
        cgen_isa_mask_* to cgen_bitset_*.
        * cgen.h: Likewise.
2005-10-28 19:38:59 +00:00
Dave Brolley 4fb1e3d3e1 2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following change:
        2005-09-19  Dave Brolley  <brolley@redhat.com>

        * config/tc-m32c.c (default_isa): New static variable.
        (m32c_isa): Now of type CGEN_BITSET.
        (md_begin): Pass &m32c_isa to m32c_cgen_cpu_open.
2005-10-28 19:37:14 +00:00
Dave Brolley 95b965212b 2005-10-28 Dave Brolley <brolley@redhat.com>
Contribute the following change:
        2003-09-24  Dave Brolley  <brolley@redhat.com>

        * frv.opc: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of
        CGEN_ATTR_VALUE_TYPE.
        * m32c.opc (m32c_cgen_insn_supported): Use CGEN_INSN_BITSET_ATTR_VALUE.
        Use cgen_bitset_intersect_p.
2005-10-28 19:33:06 +00:00
Mark Kettenis a0c758791c * ppc-tdep.h (PPC_INSN_SIZE): Define. 2005-10-28 18:23:32 +00:00
Mark Kettenis 346e281c43 * inf-ttrace.c (inf_ttrace_mourn_inferior): Remove redundant cast.
(inf_ttrace_kill): Renamed from inf_ttrace_kill_inferior.
(inf_ttrace_target): Resort assignments.
2005-10-28 18:20:35 +00:00
Eli Zaretskii 656d5e120f * gdb.texinfo (GDB/MI Variable Objects): Fix @pxref usage under
"The -var-update Command".
2005-10-28 17:20:03 +00:00
Joel Brobecker e9adafe3f3 From Eric Botcazou <botcazou@adacore.com>
* coffcode.h (coff_compute_section_file_positions): Fix small
        error in preprocessor directives.
2005-10-28 16:25:48 +00:00
Joel Brobecker cc429f578c Mostly from Eric Botcazou <botcazou@adacore.com>
* rs6000-core.c: ANSIfy all function definitions.
        Add missing function prototypes.
        (ptr_to_uint): New type.
        (rs6000coff_core_p): Use it as intermediate step in casts.
        (rs6000coff_core_file_matches_executable_p): Likewise.
        * xcoff-target.h (rs6000coff_core_p): Fix prototype.
        (rs6000coff_core_file_matches_executable_p): Likewise.
2005-10-28 16:24:35 +00:00
H.J. Lu 74d26813fe 2005-10-28 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/1472
	* aoutx.h (NAME (aout, machine_type)): Handle
	bfd_mach_sparc_v8plus, bfd_mach_sparc_v8plusa,
	bfd_mach_sparc_v8plusb, bfd_mach_sparc_v9, bfd_mach_sparc_v9a
	and bfd_mach_sparc_v9b.
2005-10-28 13:50:57 +00:00
Nick Roberts f0afd306b6 Sync with Emacs 22.0.50. 2005-10-28 03:26:19 +00:00
Nick Roberts 589e97524f *** empty log message *** 2005-10-28 03:25:41 +00:00
Paul Brook 2e10c237f6 2005-10-28 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
	instead of mcpu_cpu_opt.
2005-10-28 00:50:03 +00:00
Hans-Peter Nilsson b2efcd3652 PR ld/1567
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_32>: Set
	complain_on_overflow field to complain_overflow_dont.
2005-10-28 00:29:44 +00:00
Hans-Peter Nilsson 8559470fe5 PR ld/1567
* ld-cris/noov.s, ld-cris/noov.d: New test.
2005-10-28 00:24:09 +00:00
gdbadmin 8e33215f84 *** empty log message *** 2005-10-28 00:00:08 +00:00
Alan Modra aa49a487e3 daily update 2005-10-28 00:00:07 +00:00
DJ Delorie c6552317c1 * m32c.cpu (Imm-8-s4n, Imm-12-s4n): New.
(arith-jnz16-imm4-dst-defn, arith-jnz32-imm4-dst-defn,
arith-jnz-imm4-dst-mach, arith-jnz-imm4-dst): Keep track of which
imm operand is needed.
(adjnz, sbjnz): Pass the right operands.
(unary-insn-defn, unary16-defn, unary32-defn, unary-insn-mach,
unary-insn): Add -g variants for opcodes that need to support :G.
(not.BW:G, push.BW:G): Call it.
(stzx16-imm8-imm8-dsp8sb, stzx16-imm8-imm8-dsp8fb,
stzx16-imm8-imm8-abs16): Fix operand typos.
* m32c.opc (m32c_asm_hash): Support bnCND.
(parse_signed4n, print_signed4n): New.

* m32c-asm.c: Regenerate.
* m32c-desc.c: Regenerate.
* m32c-desc.h: Regenerate.
* m32c-dis.c: Regenerate.
* m32c-ibld.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.
2005-10-27 23:54:17 +00:00
Bob Wilson 53dfbcc78f * config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to
refer to "ports" instead of "queues".
	(check_t1_t2_reads_and_writes): Pass correct interface values to
	xtensa_interface_inout.
2005-10-27 22:16:31 +00:00
Jan Beulich b252df615e gas/testsuite/
2005-10-27  Jan Beulich  <jbeulich@novell.com>

	* gas/i386/equ.d: Fix typo.
	* gas/i386/equ.s: Don't globalize r.
2005-10-27 13:34:14 +00:00
Jan Beulich 6a2b6326c2 gas/
2005-10-27  Jan Beulich  <jbeulich@novell.com>

	* read.c (assign_symbol): Also consider equates already defined.
	* symbols.c (symbol_clone): Also clone the underlying BFD symbol.
	* config/obj-coff.h (obj_symbol_clone_hook): New.
	(coff_obj_symbol_clone_hook): Declare.
	* config/obj-coff.c (coff_obj_symbol_clone_hook): New.

gas/testsuite/
2005-10-27  Jan Beulich  <jbeulich@novell.com>

	* gas/all/gas.exp: Don't xfail equiv1 test anymore.
2005-10-27 07:40:07 +00:00
Alan Modra 95560129db PR 973
* cache.c (enum cache_flag): New.
	(close_one): Save file mtime.
	(bfd_cache_lookup): Add flag arg, adjust all users.
	(bfd_cache_lookup_worker): Likewise.
	(cache_btell): Use CACHE_NO_OPEN and return abfd->where if file
	not open.
	(cache_bflush): Similarly, and return success of file not open.
	(cache_bseek): Use CACHE_NO_SEEK if SEEK_SET or SEEK_END.
	(cache_bstat): Use CACHE_NO_SEEK_ERROR.
2005-10-27 05:31:16 +00:00
Alan Modra 182a009999 * bfdwin.c (bfd_get_file_window): Seek into file in place of
using bfd_cache_lookup.
2005-10-27 04:06:35 +00:00
Alan Modra d00967c705 * cache.c (BFD_CACHE_MAX_OPEN): Make private to this file.
(bfd_last_cache, bfd_cache_lookup, bfd_cache_lookup_worker): Likewise.
	* libbfd-in.h (bfd_cache_lookup_worker, bfd_last_cache): Delete.
	* libbfd.h: Regenerate.
2005-10-27 03:36:57 +00:00
Alan Modra b677b8c0b9 * hppabsd-core.c (hppabsd_core_core_file_p): Use bfd_stat, not fstat.
* sco5-core.c (sco5_core_file_p): Likewise.
	* trad-core.c (trad_unix_core_file_p): Likewise.
2005-10-27 03:35:30 +00:00