Andreas Schwab
82cd387f60
Fix date.
2009-04-21 20:54:33 +00:00
Andreas Schwab
cfd5360553
* configure.ac: Don't postprocess Makefile in config.status.
...
Substitute GDB_NM_FILE. Don't substitute nm_h.
* Makefile.in (GDB_NM_FILE): Substitute.
(TAGS): Use $(GDB_NM_FILE) instead of $(NAT_FILE).
* configure: Regenerate.
* gnulib/Makefile.in: Regenerate.
2009-04-21 20:19:13 +00:00
Joseph Myers
26e251b603
gdb:
...
* configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir,
--with-htmldir): New.
* configure: Regenerate.
gdb/doc:
* configure.ac (--with-datarootdir, --with-docdir, --with-pdfdir,
--with-htmldir): New.
* configure: Regenerate.
* Makefile.in (datarootdir, docdir): Define.
(gdb.dvi, gdb.pdf): Use same -I options as for building gdb.info
instead of $(SET_TEXINPUTS).
(gdbint.dvi, gdbint.pdf): Use same -I options as for building
gdbint.info instead of $(SET_TEXINPUTS).
(gdbint/index.html): Use same -I options as for building
gdbint.info.
(stabs.dvi, stabs.pdf): Use same -I options as for building
stabs.info instead of $(SET_TEXINPUTS).
(stabs/index.html): Use same -I options as for building
stabs.info.
(annotate.dvi, annotate.pdf): Use same -I options as for building
annotate.info instead of $(SET_TEXINPUTS).
(annotate/index.html): Use same -I options as for building
annotate.info.
2009-04-21 20:13:08 +00:00
Tom Tromey
32c1c914bc
* configure: Rebuild.
...
* configure.ac: Use lower case for start of help strings. Clean
up --with-sysroot help.
2009-04-21 18:09:11 +00:00
Tom Tromey
a1220294e5
* configure: Rebuild.
...
* acinclude.m4 (AM_ICONV): Use AC_HELP_STRING.
* configure.ac: Use AC_HELP_STRING. Use upper case for variables
in help.
2009-04-21 17:00:17 +00:00
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
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
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
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
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
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
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
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
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
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
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
e726d7841c
* charset.c (EILSEQ): Define if not defined by system headers.
2009-04-13 18:49:27 +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
Eli Zaretskii
685af672ca
* go32-nat.c (go32_attach, go32_detach:) Fix prototypes to be
...
consistent with the change from 2009-03-17.
2009-04-11 17:57:34 +00:00
Jan Kratochvil
f4a34a0895
gdb/
...
* varobj.c (varobj_invalidate): Fix formatting text width.
2009-04-10 16:00:49 +00:00
Jan Kratochvil
2dbd25e5eb
gdb/
...
* varobj.c (varobj_invalidate): Fix indentation.
2009-04-10 15:57:54 +00:00
Jan Kratochvil
c16abbdefa
* gdbtypes.c: Remove excessive parentheses at the return keywords.
2009-04-10 03:36:32 +00:00
Vladimir Prus
143260c9bf
Implement -exec-jump.
...
* mi/mi-cmds.h (mi_cmd_exec_jump): Declare.
* mi/mi-main.c (mi_cmd_exec_jump): New.
* mi/mi-cmds.c (mi_cmds): Register exec-jump.
2009-04-08 06:58:37 +00:00
Doug Evans
d10c338de3
* symfile.c (symbol_file_clear): Fix indentation.
2009-04-07 20:43:51 +00:00
Mark Kettenis
e5a6ba44d9
* sparc64nbsd-nat.c (sparc64nbsd_supply_pcb): Fix comment.
2009-04-05 22:37:20 +00:00
Ulrich Weigand
409c383c98
* ppc-linux-nat.c (ppc_linux_target_wordsize): New function.
...
(ppc_linux_auxv_parse): New function.
(ppc_linux_read_description): Use ppc_linux_target_wordsize.
(_initialize_ppc_linux_nat): Install ppc_linux_auxv_parse.
2009-04-03 16:07:04 +00:00
Ulrich Weigand
9592c5d011
* spu-linux-nat.c (spu_bfd_open): Set filename of in-memory
...
BFD to contents of SPU name note.
(spu_symbol_file_add_from_memory): Call symbol_file_add_from_bfd
with "from_tty" argument 1 instead of 0.
2009-04-03 14:37:57 +00:00
Jan Kratochvil
de40b933e2
gdb/
...
* dwarf2read.c
(new_symbol <DW_TAG_variable> <!DW_AT_location> <DW_AT_external>):
Create the symbol in local scope.
* symtab.h (cu->list_in_scope <LOC_UNRESOLVED>): New comment part.
gdb/testsuite/
* gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
gdb.dwarf2/dw2-unresolved.exp: New.
2009-04-02 21:01:41 +00:00