Commit Graph

24257 Commits

Author SHA1 Message Date
Pierre Muller dfc3cd0e77 ARI fix: remove "%p".
* ia64-tdep.c (ia64_frame_this_id): Use host_address_to_string function.
	(ia64_sigtramp_frame_this_id): Ditto.
	(ia64_libunwind_frame_this_id): Ditto.
	(ia64_libunwind_sigtramp_frame_this_id): Ditto.
	* symmisc.c (maintenance_info_psymtabs): Ditto.
2009-04-21 11:38:38 +00:00
Joseph Myers 29b0e8a24a gdb:
* configure.ac (--with-relocated-sources): New.
	* configure, config.in: Regenerate.
	* source.c (add_substitute_path_rule): Remove static.
	* source.h (add_substitute_path_rule): Declare.
	* main.c: Include "source.h".
	(captured_main): Add substitution rule if RELOC_SRCDIR.

gdb/doc:
	* gdb.texinfo (Source Path): Document --with-relocated-sources.
2009-04-21 10:13:05 +00:00
Pierre Muller ccabeb57ba * gnu-nat.h (proc_debug): Add missing continuation line in macro. 2009-04-21 07:35:42 +00:00
gdbadmin 73be22b84a *** empty log message *** 2009-04-21 00:00:33 +00:00
David Daney b941295341 2009-04-20 David Daney <ddaney@caviumnetworks.com>
* NEWS: Mention MIPS/Linux hardware watchpoint support.

2009-04-20  David Daney  <ddaney@caviumnetworks.com>

	* mips-linux-nat.c (command.h, gdbcmd.h, gdb_assert.h): New #includes.
	(maint_show_dr, super_close): New variables.
	(super_fetch_registers, super_store_registers): Make static.
	(PTRACE_GET_WATCH_REGS, PTRACE_SET_WATCH_REGS, W_BIT, R_BIT, I_BIT)
	(W_MASK, R_MASK, I_MASK, IRW_MASK, MAX_DEBUG_REGISTER): Define.
	(pt_watch_style): Define new enum.
	(mips32_watch_regs, mips64_watch_regs, pt_watch_regs, mips_watchpoint):
	Define new structs.
	(watch_readback_valid, watch_readback, current_watches,	watch_mirror):
	New variables.
	(get_irw_mask, get_reg_mask, get_num_valid, get_watchlo)
	(set_watchlo, get_watchhi, set_watchhi, mips_show_dr)
	(mips_linux_read_watch_registers, mips_linux_can_use_hw_breakpoint)
	(mips_linux_stopped_by_watchpoint, mips_linux_stopped_data_address)
	(type_to_irw, fill_mask, try_one_watch)
	(mips_linux_region_ok_for_hw_watchpoint, write_watchpoint_regs)
	(mips_linux_new_thread, populate_regs_from_watches)
	(mips_linux_insert_watchpoint, mips_linux_remove_watchpoint)
	(mips_linux_close): New functions.
	(_initialize_mips_linux_nat): Register watchpoint functions with
	the target_ops.  Add show-debug-regs maintenance command.

2009-04-20  David Daney  <ddaney@caviumnetworks.com>

	* infrun.c (handle_inferior_event): Move gegisters_changed call down.
2009-04-20 21:11:06 +00:00
gdbadmin 6d4c6b2e40 *** empty log message *** 2009-04-20 00:00:03 +00:00
Pedro Alves 6de3146cda * NEWS: Mention gdbserver support for x86 Windows CE. 2009-04-19 20:05:23 +00:00
Eli Zaretskii e424a02ef6 * config/djgpp/fnchange.lst: Fix typos. 2009-04-19 19:38:42 +00:00
Eli Zaretskii 10085bb5ab Set default host and target charsets in the DJGPP port.
* config/djgpp/config.sed (am_cv_langinfo_codeset)
	(bash_cv_langinfo_codeset, ac_cv_header_nl_types_h): Set to "yes"
	in all configure scripts that define ac_cv_env_CPP_value.
	* go32-nat.c (dos_codepage, nl_langinfo): New functions.
	Include langinfo.h.
	* config/djgpp/nl_types.h: New file.
	* config/djgpp/langinfo.h: New file.
	* config/i386/go32.mh (MH_CFLAGS): Add $(srcdir)/config/djgpp.
2009-04-19 18:29:34 +00:00
Pedro Alves 155c8968d9 2009-04-19 Danny Backx <dannybackx@users.sourceforge.net>
* configure.srv: Add x86 Windows CE target.
2009-04-19 17:54:52 +00:00
gdbadmin 50a1af0d13 *** empty log message *** 2009-04-19 00:00:03 +00:00
Joseph Myers 2b83188937 gdb:
2009-04-18  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in (MAKEHTML): Set to makeinfo --html.
	(MAKEHTMLFLAGS): Set to empty.

gdb/doc:
2009-04-18  Carlos O'Donell  <carlos@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

	* Makefile.in (MAKEHTML): Set to makeinfo --html.
	(MAKEHTMLFLAGS): Set to empty.
	(html__strip_dir): Define.
	(HTMLFILES): Define.
	(HTMLFILES_INSTALL): Define.
	(install-html): Copy new automake rule.
	(html): Depend on $(HTMLFILES).
	(gdb_toc.html): Rename to gdb/index.html.
	(gdbint_toc.html): Rename to gdbint/index.html.
	(stabs_toc.html): Rename to stabs/index.html.
	(annotate_toc.html): Rename to annotate/index.html.
2009-04-18 17:11:02 +00:00
Eli Zaretskii d7713ae002 * NEWS: Mention all new set/show commands added since GDB 6.8 was
released.
2009-04-18 14:54:00 +00:00
Eli Zaretskii d647eed6d5 * go32-nat.c (go32_sysinfo): Check if the call to
__dpmi_get_capabilities fills the buffer with information, and
	don't use the buffer if not.
2009-04-18 08:16:34 +00:00
gdbadmin 3c0d1e968a *** empty log message *** 2009-04-18 00:00:03 +00:00
Tom Tromey 587204947e * charset.c (_initialize_charset): Add special case for "646". 2009-04-17 23:50:12 +00:00
Joseph Myers 89a34d1b2c gdb:
2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>

	* configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir.
	* configure: Regenerate.
	* Makefile.in: Set datarootdir, docdir, htmldir, and pdfdir from
	configure substitutions.
	(FLAGS_TO_PASS): Add datarootdir, docdir, and htmldir.

gdb/doc:
2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Set pdfdir and htmldir from configure
	substitutions.
	* configure.ac: AC_SUBST datarootdir, docdir, htmldir, pdfdir.
	* configure: Regenerate.

readline:
2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Add html target.  Add dummy install-html and
	install-pdf targets.

sim:
2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>

	* Makefile.in: Add dummy install-pdf, html, and
	install-html targets.
2009-04-17 17:44:05 +00:00
Pierre Muller a74ce742ff ARI fix: Do not use %p, replace by call to host_address_to_string
for host pointers.
	* darwin-nat.c (darwin_xfer_partial): Apply change.
	* gnu-nat.c (inf_continue, gnu_xfer_memory): Ditto.
	* gnu-nat.h (proc_debug): Ditto.
	* symmisc.c (maintenance_info_symtabs): Ditto.
	(maintenance_info_psymtabs): Ditto.
	* windows-nat.c (handle_load_dll): Ditto.
	(handle_unload_dll, info_w32_command, handle_exception): Ditto.
	* xtensa-tdep.c (xtensa_unwind_pc): Ditto.
2009-04-17 15:44:28 +00:00
Joseph Myers 0ca8834fef * configure.tgt (i[34567]86-*-linux*): Use 64-bit configuration if
--enable-64-bit-bfd.
	(sparc-*-linux*): Likewise.
2009-04-17 14:22:25 +00:00
Eli Zaretskii 541f1105bc * go32-nat.c (go32_sysinfo): Update list of Windows versions of
the NT family.
2009-04-17 11:59:35 +00:00
gdbadmin cfc682d498 *** empty log message *** 2009-04-17 00:00:32 +00:00
Pedro Alves 1554e9be88 * remote.c (remote_query_attached): Fix pasto in packet_ok result
checking.
2009-04-16 19:31:03 +00:00
Joel Brobecker bf75638ec1 Undo the following change. Not correct, after all:
* procfs.c (solib_mappings_callback, find_memory_regions_callback):
        Fix a compilation warning on mips-irix due to casting from
        a pointer of different size.
2009-04-16 18:41:40 +00:00
Joel Brobecker 3705b1c591 * ada-lang.h (ada_adjust_exception_stop, ada_print_exception_stop)
(ada_get_current_task, ada_print_exception_breakpoint_nontask)
        (ada_print_exception_breakpoint_task, ada_reset_thread_registers):
        Remove declaration. These are non-existent functions.
2009-04-16 18:39:36 +00:00
Joel Brobecker a2d5da46c6 * gdbint.texinfo (Native Debugging): Remove entry for PROC_NAME_FMT.
This macro is no longer used.
2009-04-16 17:42:00 +00:00
Joel Brobecker 37da21bceb * procfs.c (solib_mappings_callback, find_memory_regions_callback):
Fix a compilation warning on mips-irix due to casting from
        a pointer of different size.
2009-04-16 17:25:38 +00:00
Joel Brobecker 6f38eac82e * ada-lang.c (symtab_for_sym): Delete.
(user_select_syms): Use sym->symtab instead of calling symtab_for_sym.
2009-04-16 17:21:06 +00:00
Joel Brobecker f9bc20b9be * ada-lang.c (extract_string): Delete.
(ada_main_name): Reimplement using target_read_string instead of
        extract_string.
2009-04-16 17:16:18 +00:00
Andreas Schwab 335d71d67e * m68klinux-nat.c: Remove obsolete comment.
(fetch_register, store_register): Don't call
gdbarch_cannot_fetch_register or gdbarch_cannot_store_register,
which are always nops here.
2009-04-16 15:26:49 +00:00
gdbadmin 015f384266 *** empty log message *** 2009-04-16 00:00:33 +00:00
Tom Tromey 732f6a935c gdb
* c-lang.c (c_emit_char): Use INTERMEDIATE_ENCODING.
	(c_printstr): Likewise.
	* charset.c: Include gdb_wait.h.
	(make_wchar_iterator): Use INTERMEDIATE_ENCODING.
	(find_charset_names): Use pexecute.  Handle libiconv's output.
	Detect errors.
	(_initialize_charset): Use xstrdup.
	* gdb_wchar.h: Check HAVE_BTOWC.  Split PHONY_ICONV and wchar
	cases.
	(INTERMEDIATE_ENCODING): New define.
	* configure, config.in: Rebuild.
	* configure.ac: Check for btowc.
gdb/doc
	* gdb.texinfo (Character Sets): Document default character set.
2009-04-15 22:20:32 +00:00
Tom Tromey 334cc82d44 gdb
* c-lang.c (evaluate_subexp_c): Correctly handle EVAL_SKIP.
gdb/testsuite
	* gdb.base/charset.exp: Add regression test.
2009-04-15 21:55:04 +00:00
Eli Zaretskii 27e3013dec * utils.c (parse_escape): Initialize target_char to pacify GCC. 2009-04-15 20:40:51 +00:00
gdbadmin 65cd573b7d *** empty log message *** 2009-04-15 00:00:02 +00:00
Jan Kratochvil 8ea5dfdf09 gdb/
* c-lang.c (c_get_string): Fix xfree crash on a failed string read.
2009-04-14 21:54:33 +00:00
Pierre Muller 88c15c3400 ARI fix: sprintf rule.
* ada-exp.y (convert_char_literal): Replace sprintf by xsnprintf.
	* ada-lang.c (add_angle_brackets): Use xstrprintf.
	(ada_decode): Replace sprintf by xsnprintf.
	(find_old_style_renaming_symbol): Ditto.
	(ada_to_fixed_type_1, ada_enum_name): Ditto.
2009-04-14 19:04:24 +00:00
Pierre Muller 87f9adc166 * gdbint.texinfo: Change server name from sources.redhat.com to
sourceware.org throughout.
2009-04-14 18:18:41 +00:00
Joel Brobecker d12672ccc7 * gdb.base/exe-lock.exp: New testcase. 2009-04-14 16:49:57 +00:00
Joel Brobecker efbd6e753f * target.c (target_mourn_inferior): Call bfd_cache_close_all
after having executed the target mourn_inferior routine.
2009-04-14 16:48:07 +00:00
Eli Zaretskii b46df7a18c config/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if undefined. 2009-04-14 14:25:12 +00:00
David Daney 2facfe5cc4 2009-04-13 David Daney <ddaney@caviumnetworks.com>
* infrun.c (maybe_software_singlestep): New function.
	(resume): Call maybe_software_singlestep.
	(handle_inferior_event): Same.
2009-04-14 00:59:47 +00:00
gdbadmin bf21c8117e *** empty log message *** 2009-04-14 00:00:33 +00:00
Tom Tromey 18e8c3bc8a gdb
* python/python-frame.c (frapy_richcompare): Return
	Py_NotImplemented, not an error.  Handle Py_NE as well.
gdb/testsuite
	* gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
	operator on Frame.
2009-04-13 20:54:59 +00:00
Eli Zaretskii 76208fec87 Fix typo in the last change. 2009-04-13 18:55:15 +00:00
Eli Zaretskii e726d7841c * charset.c (EILSEQ): Define if not defined by system headers. 2009-04-13 18:49:27 +00:00
gdbadmin 2be757dd2a *** empty log message *** 2009-04-13 00:00:33 +00:00
gdbadmin f41305e143 *** empty log message *** 2009-04-12 00:00:03 +00:00
Eli Zaretskii c03b3c325a *** empty log message *** 2009-04-11 19:21:10 +00:00
Eli Zaretskii a2effb2e8e *** empty log message *** 2009-04-11 18:06:02 +00:00
Eli Zaretskii 238f4807d1 * config/djgpp/config.sed: Tweak ac_config_files in intl/configure
to be consistent with renaming config.intl.h into config_intl.h.
2009-04-11 18:03:52 +00:00