Commit Graph

55226 Commits

Author SHA1 Message Date
Alan Modra 570b4ee2f7 daily update 2007-09-05 00:00:05 +00:00
gdbadmin 6e4e6e6058 *** empty log message *** 2007-09-05 00:00:02 +00:00
Daniel Jacobowitz 69f223edd7 * linux-low.c (linux_wait_for_event): Do not pass signals while
single-stepping.
2007-09-04 21:30:23 +00:00
Ian Lance Taylor 193a53d920 Add support for --enable-target to control which template
specializations we generate.
2007-09-04 20:00:53 +00:00
Ian Lance Taylor 64707334c7 Ignore VER_NDX_LOCAL for an undefined symbol. 2007-09-04 17:59:53 +00:00
Mike Frysinger 58ffc3bd2c * lib/ld-lib.exp (default_ld_compile): Pull in global CXXFLAGS and
add it to $flags when $ccexe matches *++*.
	(run_ld_link_exec_tests): Pull in global CXXFLAGS and execute CXX
	with CXXFLAGS when $lang matches c++.
	(run_cc_link_tests): Likewise.
2007-09-04 14:49:43 +00:00
H.J. Lu 8aa20f8269 Remove a white space. 2007-09-04 14:45:12 +00:00
H.J. Lu 75178d9df6 2007-09-04 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (process_operands): Remove segment override
	check on SVME instructions.
	(i386_index_check): Remove memory operand check on  SVME
	instructions.
2007-09-04 14:44:35 +00:00
Nick Clifton 2525df0347 * interp.c (options enum): Add OPTION_INFO_MEMORY.
(display_mem_info): New static variable.
  (mips_option_handler): Handle OPTION_INFO_MEMORY.
  (mips_options): Add info-memory and memory-info.
  (sim_open): After processing the command line and board specification, check display_mem_info.
  If it is set then call the real handler for the --memory-info command line switch.
2007-09-04 14:33:18 +00:00
Daniel Jacobowitz 2025a643ef * printcmd.c (printf_command): Handle ptr_arg. Correct typo
in internal error message.

	* gdb.base/display.exp: Add tests for printf %p.
2007-09-04 14:18:47 +00:00
Jerome Guitton 0ad36c846a * sim/ppc/emul_bugapi.c (emul_bugapi_create): quote the file
name property before parsing it.
2007-09-04 09:45:06 +00:00
Alan Modra 7bc3e93c1b * config/tc-spu.c (struct spu_insn): Delete "flag". Add "reloc".
(md_assemble): Update init of insn.  Use insn.reloc instead of
	calculating from flag.
	(get_imm): Set reloc rather than flag.
	(calcop): Formatting.
2007-09-04 04:10:21 +00:00
Alan Modra b427ea91a5 * elf32-spu.c (elf_howto_table): Formatting. 2007-09-04 04:09:22 +00:00
Pedro Alves 1d751abe59 Revert accidentally committed hunk... Sorry. 2007-09-04 01:38:07 +00:00
Pedro Alves de1b3c3d02 * infcmd.c (post_create_inferior): Update comment.
(run_command_1): Always call post_create_inferior with 0 as
	from_tty.

	* i386-cygwin-tdep.h: New.
	* i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h".
	(win32_xfer_shared_library): Make it extern.

	* win32-nat.c: Include gdb_obstack.h and xml-support.h and
	i386-cygwin-tdep.h.
	(win32_so_ops): Delete.
	(get_relocated_section_addrs): Delete.
	(solib_symbols_add): Delete.
	(register_loaded_dll): Delete.
	(win32_make_so): New.
	(handle_load_dll): Use win32_make_so.
	(win32_free_so): Free the passed in so.
	(win32_relocate_section_addresses): Delete.
	(win32_solib_create_inferior_hook): Delete.
	(handle_unload_dll): Don't add PE offset here.  Free so with
	win32_free_so instead of free_so.
	(win32_special_symbol_handling): Delete.
	(get_win32_debug_event): Remove unneeded calls.  Set state to
	TARGET_WAITKIND_LOADED on a dll unload.
	(do_initial_win32_stuff): Clear cygwin_load_start and
	cygwin_load_end.
	(map_code_section_args): Delete.
	(dll_code_sections_add): Delete.
	(core_section_load_dll_symbols): Delete.
	(win32_xfer_shared_libraries): New.
	(win32_current_sos): Delete.
	(win32_xfer_partial): New.
	(open_symbol_file_object): Delete.
	(in_dynsym_resolve_code): Delete.
	(init_win32_ops): Set win32_xfer_partial as to_xfer_partial member
	of win32_ops.  Remove win32_so_ops settings.  Don't set
	current_target_so_ops here.

	* Makefile.in (i386_cygwin_tdep_h): New variable.
	(i386-cygwin-tdep.o): Update dependencies.
	(win32-nat.o): Update dependencies.
2007-09-04 01:12:18 +00:00
Alan Modra 892bacea17 daily update 2007-09-04 00:00:05 +00:00
gdbadmin 8afa4c23b1 *** empty log message *** 2007-09-04 00:00:04 +00:00
Pedro Alves de58486143 * gdbarch.sh (core_xfer_shared_libraries): New.
* corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES.

	* gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New.

	* xml-support.c (gdb_xml_parse): Debug output tweaks.
	(xml_escape_text): New.
	* xml-support.h (xml_escape_text): Declare.

	* config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ...
	* config/i386/cygwin.mt (TDEPFILES): ... here.

	* win32-nat.c: (fetch_elf_core_registers): Delete.
	(win32_elf_core_fn): Delete.
	(_initialize_core_win32): Delete.

	* i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h",
	"xml-support.h" and "gdbcore.h".
	(i386_win32_gregset_reg_offset): New.
	(I386_WIN32_SIZEOF_GREGSET): New.
	(i386_win32_regset_from_core_section): New.
	(win32_xfer_shared_library): New.
	(struct cpms_data): New.
	(core_process_module_section): New.
	(win32_core_xfer_shared_libraries): New.
	(i386_cygwin_skip_trampoline_code): Register gregset_reg_offset,
	gregset_num_regs, sizeof_gregset members of tdep.  Register
	regset_from_core_section and core_xfer_shared_libraries callbacks.

	* Makefile.in (i386-cygwin-tdep.o): Update dependencies.
	* gdbarch.h, gdbarch.c: Regenerate.
2007-09-03 23:06:35 +00:00
Pedro Alves 7160c4c357 * corelow.c (core_xfer_partial): Pass writebuf to
deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case.
2007-09-03 22:31:45 +00:00
Pedro Alves 6dc134122f * arm-tdep.h (arm_skip_stub): Declare.
* arm-wince-tdep.c: Don't include "solib-svr4.h".  Include
	"gdbcore.h".
	(arm_pe_skip_trampoline_code): New function.
	(arm_wince_init_abi): Register arm_pe_skip_trampoline_code as
	gdbarch_skip_trampoline_code callback.
	* Makefile.in (arm-wince-tdep.o): Update dependencies.
2007-09-03 22:24:24 +00:00
Pedro Alves aec18585f0 * win32-low.c (create_process): New.
(win32_create_inferior): Use create_process instead of
	CreateProcess.  If create_process failed retry appending an ".exe"
	suffix.  Store the GetLastError result immediatelly after
	create_process calls and use it on the call to error.
2007-09-03 22:17:27 +00:00
Pedro Alves 26669a2768 * gdb.base/unload.c (dlopen, dlsym): Use the TEXT macro to convert
the dll name to unicode.
2007-09-03 22:12:13 +00:00
Pedro Alves 34d86dddf2 * win32-low.c (handle_load_dll): Don't use toolhelp when waiting. 2007-09-03 22:04:02 +00:00
Daniel Jacobowitz ca8385e5ed * MAINTAINERS: Move Fred Fish to Past Maintainers. 2007-09-03 21:12:47 +00:00
Daniel Jacobowitz 5c39566fee * configure.ac: Add --with-expat.
* configure: Regenerated.
2007-09-03 20:47:37 +00:00
Andreas Schwab 6a30b0a545 * configure.ac: Accept --with-system-readline.
(READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute.
	* configure: Regenerate.
	* Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use
	substituted values.
	(CDEPS): Use $(READLINE_DEPS) instead of $(READLINE).
2007-09-03 19:00:16 +00:00
Daniel Jacobowitz edff0c0a1d * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters. 2007-09-03 17:51:10 +00:00
Daniel Jacobowitz 3277c0e07c Add missed changelog entry. 2007-09-03 17:11:28 +00:00
Jan Kratochvil c8f021f824 * gdb.base/default.exp (show version): Update the version text.
* gdb.gdb/selftest.exp (xgdb is at prompt): Likewise.
2007-09-03 14:58:47 +00:00
gdbadmin 25485add49 *** empty log message *** 2007-09-03 00:00:34 +00:00
Alan Modra 97f387b8bc daily update 2007-09-03 00:00:04 +00:00
Jan Kratochvil 0b93d57c33 * top.c (print_gdb_version): Fixed a string end-of-line compiler error. 2007-09-02 21:13:56 +00:00
Daniel Jacobowitz b8533aeca8 * top.c (print_gdb_version): Update for GPL version 3.
* gdb.texinfo: Update the FSF's Back-Cover Text.
2007-09-02 20:02:12 +00:00
Jan Kratochvil f5db87141a * NEWS: Mention the build-id .debug files verification. 2007-09-02 19:56:05 +00:00
Jan Kratochvil 83f83d7f7f * gdb.texinfo (Separate Debug Files): Cosmetic quoting removal.
Fixed the ``build ID'' name.  New binaries build instructions for the
	build ID inclusion.  Explain how the commands are specific to the build
	ID vs. debug link.
2007-09-02 19:55:32 +00:00
Jan Kratochvil d99148ef73 * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow. 2007-09-02 14:04:31 +00:00
Jan Kratochvil 4cf31eea6a * gdb.base/gcore-buffer-overflow.c, gdb.base/gcore-buffer-overflow.exp:
New files.
2007-09-02 14:03:58 +00:00
H.J. Lu aff90a5f25 bfd/
2007-09-02  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/4986
	* dwarf2.c (new_line_sorts_after): Undo the last change.
	(add_line_info): Only keep the last entry with the same address
	and end sequence.

ld/testsuite/

2007-09-02  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/4986
	* ld-ia64/line.exp: New.
	* ld-ia64/undefined.s: Likewise.

	* ld-x86-64/line.exp: Don't check CC.
2007-09-02 13:29:20 +00:00
gdbadmin 84a63fd9d9 *** empty log message *** 2007-09-02 00:00:34 +00:00
Alan Modra 406046cf5e daily update 2007-09-02 00:00:05 +00:00
Daniel Jacobowitz eeab5adb6c PR gdb/2138
From readline 5.2:
	* configure.in (CROSS_COMPILE): Initialize to empty.
	* configure: Regenerated.
2007-09-01 20:49:09 +00:00
Eli Zaretskii c7e83d54a2 * gdb.texinfo (Separate Debug Files): Fix last change. Add
indexing for ``build ID'' support.
2007-09-01 10:28:25 +00:00
Jan Kratochvil 77069918ac * Makefile.in (symfile.o): Update dependencies.
* symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the
	DEBUGFILE variable.  FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS.
	(struct build_id): New structure.
	(build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New.
	(find_separate_debug_file): New variable BUILD_ID.
	Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try.
2007-09-01 08:18:15 +00:00
Jan Kratochvil d3750b24f6 * gdb.texinfo (Separate Debug Files): Included a BUILD ID description.
Enlisted BUILD ID to the debug file searching example.
	Included a BUILD ID `.note.gnu.build-id' section description.
	Updated/added the debug files splitting instructions for OBJCOPY.
2007-09-01 08:17:13 +00:00
Jan Kratochvil 4935890f4d * lib/gdb.exp (build_id_debug_filename_get): New function.
* gdb.base/sepdebug.exp: Reflect the changes in the heading comment.
	Remove the generate DEBUG file for the future testcase runs.
	New testcase for the NT_GNU_BUILD_ID retrieval.
	Move the final testing step to ...
	(test_different_dir): ... a new function.
	New parameter XFAIL to XFAIL all the tests performed.
	New parameter TEST_DIFFERENT_DIR parametrizing the directory.
	New parameter TYPE to PF_PREFIX all the tests performed.
2007-09-01 08:16:16 +00:00
H.J. Lu 399347457c bfd/
2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/4986
	* dwarf2.c (new_line_sorts_after): Also compare line number.

ld/testsuite/

2007-08-31  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/4986
	* ld-x86-64/line.exp: New
	* ld-x86-64/undefined.s: Likewise.
2007-09-01 06:09:20 +00:00
gdbadmin 7f3e0549a5 *** empty log message *** 2007-09-01 00:00:34 +00:00
Alan Modra cd0bcef10a daily update 2007-09-01 00:00:09 +00:00
H.J. Lu 1afd85e30f 2007-08-31 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OPC_EXT_40...OPC_EXT_45): New.
	(dis386_twobyte): Use OPC_EXT_40...OPC_EXT_45.
	(opc_ext_table): Add OPC_EXT_40...OPC_EXT_45.
2007-08-31 20:55:13 +00:00
DJ Delorie 8969a67f0a merge from gcc 2007-08-31 20:20:49 +00:00