Commit Graph

54740 Commits

Author SHA1 Message Date
Kevin Buettner 44efa07abf * gdb.cp/ref-params.exp (gdb_start_again): Invoke `gdb_exit'
prior to `gdb_start'.
2007-07-19 00:46:45 +00:00
Kevin Buettner 7b5ebade65 * config/sid.exp (gdb_load): Add test for empty argument. Adjust
return value to be compatible with gdb_run_cmd in lib/gdb.exp.
	Remove call to gdb_unload.
2007-07-19 00:41:27 +00:00
Alan Modra b93bc07744 daily update 2007-07-19 00:00:06 +00:00
gdbadmin 9353f0f69c *** empty log message *** 2007-07-19 00:00:03 +00:00
Bob Wilson 13161072f2 * elf32-xtensa.c (xtensa_callback_required_dependence): Ignore
non-ELF sections.
2007-07-18 21:06:06 +00:00
Bob Wilson 0a05a8762f * xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
(XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.
2007-07-18 18:52:30 +00:00
Bob Wilson e29297b73c * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Get section
vma and size for dynamic tags from the output sections.
2007-07-18 18:23:47 +00:00
Pedro Alves aa0403d920 * remote-utils.c (remote_open): Set SO_KEEPALIVE on remote_desc
instead of on tmp_desc.
2007-07-18 12:36:51 +00:00
Alan Modra a5d1b3b53e * elf-bfd.h (struct sym_sec_cache): Delete "sec". Add "shndx".
* elf.c (bfd_section_from_r_symndx): Don't cache bfd section of
	symbol.  Instead cache ELF section index.  Remove redundant
	checks of st_shndx.
2007-07-18 11:23:37 +00:00
Roland McGrath 816efef9d2 . 2007-07-18 09:46:09 +00:00
Roland McGrath b2ff8454d8 2007-07-18 Roland McGrath <roland@redhat.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_write_build_id_section):
	Use ASEC->contents for CONTENTS when missing, and allocate
	ASEC->size if needed.
2007-07-18 09:46:05 +00:00
gdbadmin 9bd06a30b3 *** empty log message *** 2007-07-18 00:00:32 +00:00
Alan Modra e6b368d89f daily update 2007-07-18 00:00:05 +00:00
DJ Delorie 008d60eb19 merge from gcc 2007-07-17 18:05:02 +00:00
Nick Clifton bd0aa31525 * COPYING3: New file. Contains version 3 of the GNU General Public License.
* COPYING3.LIB: New file.  Contains version 3 of the GNU Lesser General Public License.
2007-07-17 13:50:23 +00:00
Daniel Jacobowitz 255e7678a9 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt>
Daniel Jacobowitz  <dan@codesourcery.com>

	* config/i386/cygwin.mt (TDEPFILES): Add solib-target.o.
	* coff-pe-read.c (read_pe_exported_syms): Delete verbose
	printf.
	* NEWS: Mention gdbserver DLL support.

	* gdb.base/unload.c (dlopen, dlsym, dlclose, dlerror): Define
	for __WIN32__.
	(SHLIB_NAME): Delete definition.  Always pass dlerror to fprintf.
	* gdb.base/unload.exp: Use shared library test routines.

	* inferiors.c (all_dlls, dlls_changed, get_dll): New.
	(add_thread): Minor cleanups.
	(clear_inferiors): Move lower in the file.  Clear the DLL
	list.
	(free_one_dll, match_dll, loaded_dll, unloaded_dll, clear_list): New.
	* remote-utils.c (prepare_resume_reply): Check dlls_changed.
	(xml_escape_text): New.
	* server.c (handle_query): Handle qXfer:libraries:read.  Report it
	for qSupported.
	(handle_v_cont): Report errors.
	(gdbserver_version): Update.
	(main): Correct size of own_buf.  Do not report initial DLL events.
	* server.h (struct dll_info, all_dlls, dlls_changed, loaded_dll)
	(unloaded_dll, xml_escape_text): New.
	* win32-low.c (enum target_waitkind): Update comments.
	(win32_add_one_solib, get_image_name, winapi_EnumProcessModules)
	(winapi_GetModuleInformation, winapi_GetModuleFileNameExA)
	(win32_EnumProcessModules, win32_GetModuleInformation)
	(win32_GetModuleFileNameExA, load_psapi, psapi_get_dll_name)
	(winapi_CreateToolhelp32Snapshot, winapi_Module32First)
	(winapi_Module32Next, win32_CreateToolhelp32Snapshot)
	(win32_Module32First, win32_Module32Next, load_toolhelp)
	(toolhelp_get_dll_name, handle_load_dll, handle_unload_dll): New.
	(get_child_debug_event): Handle DLL events.
	(win32_wait): Likewise.
2007-07-17 12:51:41 +00:00
Daniel Jacobowitz a8c50c1f55 * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches. 2007-07-17 12:46:35 +00:00
Alan Modra bd4dd364df daily update 2007-07-17 00:00:06 +00:00
gdbadmin 741d7ba69c *** empty log message *** 2007-07-17 00:00:03 +00:00
H.J. Lu 1405105681 gas/testsuite/
2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/simd.s: Add tests for punpcklbw, punpckldq,
	punpcklwd and punpcklqdq.
	* gas/i386/x86-64-simd.s: Likewise.

	* gas/i386/simd-intel.d: Updated.
	* gas/i386/simd.d: Likewise.
	* gas/i386/x86-64-simd-intel.d: Likewise.
	* gas/i386/x86-64-simd.d: Likewise.

opcodes/

2007-07-16  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-dis.c (EMq): Removed.
	(EMx): New.
	(prefix_user_table): Replace EMq with EMx.
2007-07-16 19:16:44 +00:00
H.J. Lu 2e024c20eb 2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
* i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias
	warning bug.
2007-07-16 18:34:50 +00:00
Nick Clifton 7be360d1f5 Fix spelling typo 2007-07-16 10:12:35 +00:00
Nick Clifton 80f2eaf078 Update Dutch opcodes translation.
Add new Ukranian binutils translation.
2007-07-16 10:11:01 +00:00
Alan Modra cbafdc0d90 daily update 2007-07-16 00:00:06 +00:00
gdbadmin b1269cfcf2 *** empty log message *** 2007-07-16 00:00:02 +00:00
Mike Frysinger d955dada99 * trad-core.c (NBPG): If not defined, set to getpagesize(). 2007-07-15 06:33:34 +00:00
Alan Modra 20ee575b1e daily update 2007-07-15 00:00:06 +00:00
gdbadmin 8ff6e67ea7 *** empty log message *** 2007-07-15 00:00:03 +00:00
Nick Clifton d929913e77 * config/tc-arm.c (create_register_alias): Return a boolean rather than an integer.
Check the return value of insert_reg_alias and do not continue to create aliases once an insertion has failed.
  (s_unreq): Delete the all-upper-case and all-lower-case alternatives as well.
* testsuite/gas/arm/arm.s: Add tests for re-aliasing a previously removed alias.
* testsuite/gas/arm/arm.l: Add new expected warning message.
2007-07-14 16:19:18 +00:00
Kevin Buettner f219aedc69 * mep-tdep.c (mep_analyze_prologue): Update comment for BRA
instruction case.
2007-07-14 00:15:50 +00:00
Alan Modra c144990811 daily update 2007-07-14 00:00:06 +00:00
gdbadmin 729954add5 *** empty log message *** 2007-07-14 00:00:03 +00:00
DJ Delorie 31a55cbe03 merge from gcc 2007-07-13 18:23:23 +00:00
Roland McGrath 979dc3bca9 . 2007-07-13 10:44:44 +00:00
Roland McGrath 5586bca14d 2007-07-13 Roland McGrath <roland@redhat.com>
* sha1.h: New file (from gnulib).
	* sha1.c: New file (from gnulib).
	* Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add them.
	(sha1.o): New target.
	* Makefile.in: Regenerated.
2007-07-13 10:44:28 +00:00
Roland McGrath 24382dca6c 2007-07-13 Roland McGrath <roland@redhat.com>
* emultempl/elf32.em (struct build_id_info): New type.
	(gld${EMULATION_NAME}_id_note_section_size): New function.
	(gld${EMULATION_NAME}_write_build_id_section): New function.
	(gld${EMULATION_NAME}_after_open): Use them.
	(DEFAULT_BUILD_ID_STYLE): Change to "sha1".
	* ld.texinfo (Options): Mention --build-id=sha1.
2007-07-13 10:44:26 +00:00
Roland McGrath bfb53a4f5b 2007-07-13 Roland McGrath <roland@redhat.com>
* elf-bfd.h (struct elf_obj_tdata): Revert last change.
	Add after_write_object_contents, after_write_object_contents_info.
	* elf.c (_bfd_elf_write_object_contents): Revert last change.
	Instead, call after_write_object_contents if set.
2007-07-13 10:44:12 +00:00
Nathan Sidwell e0e1a5e8db * ld-scripts/assert.t: Tweak to avoid relying on empty's VMA being
zero.
2007-07-13 09:09:25 +00:00
Alan Modra 3d263d86a5 * ldlang.c (strip_excluded_output_sections): Don't ignore sections
with update_dot_tree.
2007-07-13 07:34:25 +00:00
gdbadmin ab3cc16895 *** empty log message *** 2007-07-13 00:00:33 +00:00
Kevin Buettner 1ba3e7a3e6 * mep-tdep.c (IS_BRA, BRA_DISP): New macros.
(mep_analyze_prologue): Add case for BRA instruction.
2007-07-13 00:00:15 +00:00
Alan Modra 44139f2d0c daily update 2007-07-13 00:00:05 +00:00
Ulrich Weigand f1e5580630 * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic. 2007-07-12 20:15:24 +00:00
Daniel Jacobowitz 0d37add962 * configure.srv: Set srv_linux_regsets for sh*-*-linux*.
* linux-sh-low.c (sh_fill_gregset, target_regsets): New.
2007-07-12 19:59:00 +00:00
Hans-Peter Nilsson ae8772e6ec * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): Adjust types
work-a-round whitespace problem in gcc gengtype.
2007-07-12 13:30:24 +00:00
Nathan Sidwell 5f294ed680 * scripttempl/pe.sc: Don't include .gcc_except_table and
.eh_frame on partial links.
	* scripttempl/pep.sc: Likewise.
2007-07-12 12:57:02 +00:00
Bernd Schmidt 0ebe98fbe2 * configure.ac: Fix my previous change to really match GCC.
* configure: Regenerate.
2007-07-12 11:51:39 +00:00
Nick Roberts 5824a90153 *** empty log message *** 2007-07-12 07:58:38 +00:00
Nick Roberts 9e6c4bd5b8 (Server Prefix): New node. Adapt from existing node
in annotate.texinfo.
(Command History): Link to new node.
2007-07-12 07:57:57 +00:00
Nick Clifton 7353bd54f1 Updated Vietnamese and Dutch translations 2007-07-12 07:28:27 +00:00