Rely on gnulib's unistd.h replacement.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 57d8e7b51e89cb379a4c16b890d088a753f88485..7292d8b13dc4672fc7480dafd7baa439743bd1f6 100644 (file)
@@ -1,3 +1,477 @@
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * defs.h: Don't check HAVE_UNISTD_H before including <unistd.h>.
+       (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Delete.
+       * tracepoint.c: Don't check HAVE_UNISTD_H before including
+       <unistd.h>.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       Import the "unistd" gnulib module.
+       * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add "unistd".
+       * gnulib/Makefile.in (aclocal_m4_deps): Add import/m4/off_t.m4,
+       import/m4/ssize_t.m4, import/m4/sys_types_h.m4 and
+       import/m4/unistd_h.m4.
+       * gnulib/aclocal.m4: Renenerate.
+       * gnulib/config.in: Renenerate.
+       * gnulib/configure: Renenerate.
+       * gnulib/import/Makefile.am: Renenerate.
+       * gnulib/import/Makefile.in: Renenerate.
+       * gnulib/import/m4/gnulib-cache.m4: Renenerate.
+       * gnulib/import/m4/gnulib-comp.m4: Renenerate.
+       * gnulib/import/m4/off_t.m4: New file.
+       * gnulib/import/m4/ssize_t.m4: New file.
+       * gnulib/import/m4/sys_types_h.m4: New file.
+       * gnulib/import/m4/unistd_h.m4: New file.
+       * gnulib/import/sys_types.in.h: New file.
+       * gnulib/import/unistd.c: New file.
+       * gnulib/import/unistd.in.h: New file.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * utils.c <pathconf/_PC_PATH_MAX use>: Check if _PC_PATH_MAX is
+       defined instead of checking HAVE_UNISTD_H.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       Reimport gnulib from scratch.
+       * gnulib/Makefile.in (aclocal_m4_deps): Remove reference to
+       import/m4/onceonly.m4.
+       * gnulib/aclocal.m4: Renegerate.
+       * gnulib/config.in: Renegerate.
+       * gnulib/configure: Renegerate.
+       * gnulib/import/Makefile.in: Renegerate.
+       * gnulib/import/extra/update-copyright: Renegerate.
+       * gnulib/import/m4/onceonly.m4: Delete.
+
+2013-07-01  Pedro Alves  <palves@redhat.com>
+
+       * tui/tui-regs.c (pagination_enabled): Delete declaration.
+
+2013-06-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * remote.c (async_remote_interrupt_twice): Make it static.
+       * remote.h (async_remote_interrupt_twice): Remove the declaration.
+
+2013-06-29  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * ia64-linux-tdep.c: Include <ctype.h>.
+       (ia64_linux_stap_is_single_operand): New function.
+       (ia64_linux_init_abi): Initialize SystemTap related attributes.
+
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (version.c): Use version.in, not
+       common/version.in.
+       * common/create-version.sh: Likewise.
+       * common/version.in: Move...
+       * version.in: ...here.
+
+2013-06-28  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (set_observer_mode): Don't declare pagination_enabled
+       here.
+       * utils.h (pagination_enabled): Declare.
+
+2013-06-28  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (non_stop, non_stop_1, set_non_stop, show_non_stop):
+       Move higher up in file.
+
+2013-06-28  Tom Tromey  <tromey@redhat.com>
+
+       * tracepoint.c (deprecated_readline_begin_hook)
+       (deprecated_readline_hook, deprecated_readline_end_hook): Don't
+       declare.
+
+2013-06-28  Pedro Alves  <palves@redhat.com>
+
+       PR tui/14880
+       * tui/tui-regs.c (tui_get_register): Fetch value contents before
+       checking if they're available.
+       * value.c (value_available_contents_eq): Change comment.
+       * value.h (value_available_contents_eq): Expand comment.
+
+2013-06-27  Tom Tromey  <tromey@redhat.com>
+
+       * target.c (find_run_target): Remove.
+       * target.h (find_run_target): Remove.
+
+2013-06-27  Tom Tromey  <tromey@redhat.com>
+
+       * corelow.c (core_gdbarch): Now static.
+
+2013-06-27  Tom Tromey  <tromey@redhat.com>
+
+       * target.c (target_struct_index): Remove.
+
+2013-06-27  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c: Remove comment describing the 'stepping over runtime
+       loader dynamic symbol resolution code' mechanism; moved to
+       gdbint.texinfo.
+
+2013-06-27  Pedro Alves  <palves@redhat.com>
+
+       * exceptions.c (catch_command_errors): Remove spurious space.
+       * exceptions.h (catch_command_errors): Second parameter is "arg",
+       not "command".
+
+2013-06-27  Yao Qi  <yao@codesourcery.com>
+
+       * common/create-version.sh: Update comments.  Handle the case
+       that TARGET_ALIAS is empty.
+
+2013-06-26  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Delete macro and describing
+       comment.
+
+2013-06-26  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c: Update comments on stepping over runtime loader
+       dynamic symbol resolution code.
+
+2013-06-26  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * ax-gdb.h (union exp_element): Forward declare.
+       * parser-defs.h: Include expression.h.
+
+2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (fetch_mips_16): Use unmake_compact_addr.
+
+2013-06-26  Dmitry Kozlov <ddk@codesourcery.com>
+
+       * tracepoint.c (trace_save): Extend tsave to save starttime, stoptime.
+
+2013-06-26  Dmitry Kozlov <ddk@codesourcery.com>
+
+       Fix trace-status to output proper start-time and stop-time.
+       * tracepoint.c (trace_status_command): Fix type of printf arg to
+       prevent improper type conversion.
+       (trace_status_mi): Likewise.
+
+2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_next_pc): Fix a typo.
+
+2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (micromips_scan_prologue): Fix a typo.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * mi/mi-cmds.c (mi_cmds): Register -trace-frame-collected.
+       * mi/mi-cmds.h (mi_cmd_trace_frame_collected): Declare.
+       * mi/mi-main.c (print_variable_or_computed): New function.
+       (mi_cmd_trace_frame_collected): New function.
+       * tracepoint.c (find_trace_state_variable_by_number): New.
+       (struct traceframe_info): Move to tracepoint.h
+       (struct collection_list): Likewise.
+       (do_collect_symbol): Include locals and arguments in the
+       collected variables list.
+       (clear_collection_list): Clear wholly collected variables list
+       and computed variables list.
+       (append_exp): New function.
+       (encode_actions_1): Include variables in the wholly
+       collected variables list.  Include memory ranges and
+       full-fledged expressions in the computed expressions list.
+       (encode_actions): Move some code to ...
+       Return the cleanup chain.
+       (encode_actions_rsp): ... here.  New function.
+       (get_traceframe_location, get_traceframe_info): Remove static.
+       * tracepoint.h (struct memrange): Moved from tracepoint.c.
+       (struct collection_list): Moved from tracepoint.c.  Add two
+       new fields 'wholly_collected' and 'computed'.
+       (find_trace_state_variable_by_number): Declare.
+       (encode_actions): Adjust declaration.
+       (encode_actions_rsp): Declare.
+       (get_traceframe_info, get_traceframe_location): Declare.
+
+       * NEWS: Mention new MI command -trace-frame-collected.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * ctf.c (ctf_traceframe_info): Push trace state variables
+       present in the trace data into the traceframe info object.
+       * breakpoint.c (DEF_VEC_I): Remove.
+       * common/filestuff.c (DEF_VEC_I): Likewise.
+       * dwarf2loc.c (DEF_VEC_I): Likewise.
+       * mi/mi-main.c (DEF_VEC_I): Likewise.
+       * common/gdb_vecs.h (DEF_VEC_I): Define vector for int.
+       * features/traceframe-info.dtd: Add tvar element and its
+       attributes.
+       * tracepoint.c (free_traceframe_info): Free vector 'tvars'.
+       (build_traceframe_info): Push trace state variables present in
+       the trace data into the traceframe info object.
+       (traceframe_info_start_tvar): New function.
+       (tvar_attributes): New.
+       (traceframe_info_children): Add "tvar" element.
+       * tracepoint.h (struct traceframe_info) <tvars>: New field.
+
+       * NEWS: Mention the change in GDB and GDBserver.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (trace_dump_command): Move code to ...
+       (get_traceframe_location): ... here.  New.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (trace_dump_command): GDB emits an error
+        instead of a warning when a traceframe is not selected.
+
+2013-06-26  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * tracepoint.c (tracepoint_list, stepping_list): Remove.
+       (clear_collection_list): Free fields 'aexpre_list' and 'list'
+       in collection_list.
+       (do_clear_collection_list, init_collection_list): New.
+       (encode_actions): Add local variables 'tracepoint_list' and
+       'stepping_list'.  Call init_collection_list and make cleanup
+       which calls do_clear_collection_list.  Don't call
+       clear_collection_list.
+       (_initialize_tracepoint): Delete references to
+       'tracepoint_list' and 'stepping_list'.
+
+2013-06-25  Tom Tromey  <tromey@redhat.com>
+
+       * common/create-version.sh (date): Use "$", not "$$" in sed
+       expression.
+
+2013-06-25  Kevin Buettner  <kevinb@redhat.com>
+
+       * NEWS (New targets): Add entry for TI MSP430.
+
+2013-06-25  Yao Qi  <yao@codesourcery.com>
+
+       * remote.c (remote_start_remote): Move code to upload tsv
+       earlier.
+
+2013-06-25  Yao Qi  <yao@codesourcery.com>
+           Hui Zhu  <hui@codesourcery.com>
+           Pedro Alves  <palves@redhat.com>
+
+       PR breakpoints/15075
+       PR breakpoints/15434
+       * breakpoint.c (bpstat_stop_status): Call
+       b->ops->after_condition_true.
+       (update_dprintf_command_list): Don't append "continue" command
+       to the command list of dprintf breakpoint.
+       (base_breakpoint_after_condition_true): New function.
+       (base_breakpoint_ops): Add base_breakpoint_after_condition_true.
+       (dprintf_after_condition_true): New function.
+       (initialize_breakpoint_ops): Set dprintf_after_condition_true.
+       * breakpoint.h (breakpoint_ops): Add after_condition_true.
+
+2013-06-24  Kevin Buettner  <kevinb@redhat.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add msp430-tdep.o.
+       (ALLDEPFILES): Add msp430-tdep.c.
+       * configure.tgt (msp430*-*-elf): New target.
+       * msp430-tdep.c: New file.
+
+2013-06-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * mips-tdep.c (mips_elf_make_msymbol_special): Handle MIPS16 and
+       microMIPS synthetic symbols.
+
+2013-06-24  Maciej W. Rozycki  <macro@codesourcery.com>
+
+       * objfiles.h (pc_in_section): New prototype.
+       (in_plt_section): Remove name argument, replace prototype with
+       static inline function.
+       * mips-tdep.h: Include "objfiles.h".
+       (in_mips_stubs_section): New function.
+       * hppa-tdep.h (gdbarch_tdep): Remove name argument of
+       in_solib_call_trampoline member.
+       (hppa_in_solib_call_trampoline): Remove name argument.
+       * objfiles.c (pc_in_section): New function.
+       (in_plt_section): Remove function.
+       * mips-linux-tdep.c: Include "objfiles.h".
+       (mips_linux_in_dynsym_stub): Call in_mips_stubs_section.  Remove
+       name argument.  Return 1 rather than the low 16-bit halfword of
+       any instruction examined.
+       (mips_linux_in_dynsym_resolve_code): Update
+       mips_linux_in_dynsym_stub call accordingly.
+       * mips-tdep.c (mips_stub_frame_sniffer): Use in_mips_stubs_section
+       rather than an equivalent hand-coded sequence.
+       * hppa-hpux-tdep.c (in_opd_section): Remove function.
+       (hppa32_hpux_in_solib_call_trampoline): Remove name argument.
+       (hppa64_hpux_in_solib_call_trampoline): Likewise.
+       (hppa64_hpux_find_global_pointer): Use pc_in_section rather than
+       in_opd_section.
+       * hppa-tdep.c (hppa_stub_unwind_sniffer): Remove name argument
+       on call to tdep->in_solib_call_trampoline.
+       (hppa_in_solib_call_trampoline): Remove name argument, update
+       according to in_plt_section change.
+       (hppa_skip_trampoline_code): Update according to in_plt_section
+       change.
+       * aarch64-tdep.c (aarch64_stub_unwind_sniffer): Likewise.
+       * arm-symbian-tdep.c (arm_symbian_skip_trampoline_code):
+       Likewise.
+       * arm-tdep.c (arm_stub_unwind_sniffer): Likewise.
+       * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
+       * hppabsd-tdep.c (hppabsd_find_global_pointer): Likewise.
+       * nios2-tdep.c (nios2_stub_frame_sniffer): Likewise.
+       * nto-tdep.c (nto_relocate_section_addresses): Likewise.
+       * s390-tdep.c (s390_stub_frame_sniffer): Likewise.
+       * sh-tdep.c (sh_stub_unwind_sniffer): Likewise.
+       * solib-dsbt.c (dsbt_in_dynsym_resolve_code): Likewise.
+       * solib-frv.c (frv_in_dynsym_resolve_code): Likewise.
+       * solib-svr4.c (svr4_in_dynsym_resolve_code): Likewise.
+       * solib-target.c (solib_target_in_dynsym_resolve_code): Likewise.
+       * sparc-tdep.c (sparc_analyze_prologue): Likewise.
+       * tic6x-tdep.c (tic6x_stub_unwind_sniffer): Likewise.
+
+2013-06-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * common/create-version.sh: Fix expansion of $host_alias
+       and $target_alias in generation of HOST_NAME and TARGET_NAME
+       (resp.).
+
+2013-06-24  Tom Tromey  <tromey@redhat.com>
+
+       * common/create-version.sh: New file.
+       * Makefile.in (version.c): Use bfd/version.h, common/version.in,
+       create-version.sh.
+       (HFILES_NO_SRCDIR): Use common/version.h.
+       * version.in: Move to ...
+       * common/version.in: ... here.  Replace date with "DATE".
+       * version.h: Move to ...
+       * common/version.h: ... here.
+
+2013-06-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdb/gnulib/Makefile.in: Update date in copyright header.
+       * gdb/gnulib/configure.ac: Ditto.
+       * gdb/gnulib/update-gnulib.sh: Ditto.
+
+2013-06-21  Joel Brobecker  <brobecker@adacore.com>
+
+       * copyright.py (EXCLUDE_LIST): Replace "gdb/gnulib" by
+       "gdb/gnulib/import".
+
+2013-06-21  Will Newton  <will.newton@linaro.org>
+
+       * doublest.c (ldfrexp): Remove function.
+       (convert_doublest_to_floatformat): Call frexpl instead of
+       ldfrexp.
+
+2013-06-21  Will Newton  <will.newton@linaro.org>
+
+       * gnulib/update-gnulib.sh(IMPORTED_GNULIB_MODULES): Add frexpl.
+       * gnulib/aclocal.m4: Regenerate.
+       * gnulib/config.in: Regenerate.
+       * gnulib/configure: Regenerate.
+       * gnulib/import/Makefile.am: Update.
+       * gnulib/import/Makefile.in: Update.
+       * gnulib/import/m4/gnulib-cache.m4: Update.
+       * gnulib/import/m4/gnulib-comp.m4: Update.
+       * gnulib/import/float+.h: Import.
+       * gnulib/import/float.c: Import.
+       * gnulib/import/float.in.h: Import.
+       * gnulib/import/fpucw.h: Import.
+       * gnulib/import/frexp.c: Import.
+       * gnulib/import/frexpl.c: Import.
+       * gnulib/import/isnan.c: Import.
+       * gnulib/import/isnand-nolibm.h: Import.
+       * gnulib/import/isnand.c: Import.
+       * gnulib/import/isnanl-nolibm.h: Import.
+       * gnulib/import/isnanl.c: Import.
+       * gnulib/import/itold.c: Import.
+       * gnulib/import/m4/exponentd.m4: Import.
+       * gnulib/import/m4/exponentl.m4: Import.
+       * gnulib/import/m4/float_h.m4: Import.
+       * gnulib/import/m4/fpieee.m4: Import.
+       * gnulib/import/m4/frexp.m4: Import.
+       * gnulib/import/m4/frexpl.m4: Import.
+       * gnulib/import/m4/isnand.m4: Import.
+       * gnulib/import/m4/isnanl.m4: Import.
+       * gnulib/import/m4/math_h.m4: Import.
+       * gnulib/import/math.c: Import.
+       * gnulib/import/math.in.h: Import.
+
+2013-06-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * common/linux-btrace.c (cpu_supports_btrace): Remove variable vendor,
+       replace strcmp with signature_INTEL_ebx, signature_INTEL_ecx and
+       signature_INTEL_edx comparisons.
+
+2013-06-20  Doug Evans  <dje@google.com>
+
+       symtab/15652
+       * dwarf2read.c (try_open_dwop_file): New arg search_cwd.
+       All callers updated.
+       (open_dwp_file): If we can't find the dwp file, search the basename
+       in debug-file-directory.
+
+       * dwarf2read.c (struct dwp_file): Fix comment.
+       (open_and_init_dwp_file): Set dwp_file->name to bfd's file name.
+
+       * source.c (openp): Document OPF_TRY_CWD_FIRST+OPF_SEARCH_IN_PATH
+       better.
+
+2013-06-20  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (create_breakpoint): Fix code indentation.
+
+2013-06-20  Yao Qi  <yao@codesourcery.com>
+
+       * breakpoint.c (create_breakpoints_sal_default): Remove
+       parameter 'lsal'.  Update declaration.
+       (bkpt_create_breakpoints_sal): Caller update.
+       (tracepoint_create_breakpoints_sal): Likewise.
+
+2013-06-20  Pedro Alves  <pedro@codesourcery.com>
+           Yao Qi  <yao@codesourcery.com>
+
+       * NEWS: Mention the new option '--skip-unavailable' of command
+       -data-list-register-values.
+       * mi/mi-main.c (mi_cmd_data_list_register_values): Accept the
+       --skip-unavailable option.  Adjust to use output_register.
+       (output_register): Add new 'skip_unavailable' parameter.
+       Handle it.
+
+2013-06-19  Mike Frysinger  <vapier@gentoo.org>
+
+       * Makefile.in (HFILES_NO_SRCDIR): Add common/i386-cpuid.h and
+       common/i386-gcc-cpuid.h.
+       * common/i386-cpuid.h: New wrapper header around i386-gcc-cpuid.h.
+       * common/i386-gcc-cpuid.h: Rename from testsuite/gdb.arch/i386-cpuid.h.
+       Copy the latest version from upstream gcc.
+       * common/linux-btrace.c: Include i386-cpuid.h.
+       (intel_supports_btrace): Delete x86 ifdefs and replace inline asm with
+       call to i386_cpuid.
+       (cpu_supports_btrace): Likewise.
+       * go32-nat.c: Include i386-cpuid.h.
+       (go32_sysinfo): Add (disabled) calls to i386_cpuid with comments.
+
+2013-06-19  Doug Evans  <dje@google.com>
+
+       * symfile.c (symfile_bfd_open): Delete unnecessary declaration.
+       (get_section_index): Ditto.
+
+2013-06-19  Tom Tromey  <tromey@redhat.com>
+
+       * breakpoint.c (_initialize_breakpoint): Remove trailing \n from
+       "dprintf" help.
+
+2013-06-18  Doug Evans  <dje@google.com>
+
+       * dwarf2read.c (dw2_symtab_iter_next): Check value of cu_index
+       before using it.
+       (dw2_expand_symtabs_matching): Fix symbol kind validity check.
+       Move test of cu_index closer to use.  Print complaint if cu_index
+       is bad.
+
 2013-06-18  Joel Brobecker  <brobecker@adacore.com>
 
        * machoread.c (oso_vector): Delete this global.
 
 2013-06-18  Joel Brobecker  <brobecker@adacore.com>
 
-       * dwarf2read.c (dwarf2_per_objfile): Replace uses of
+       * dwarf2read.c (dwarf2_per_objfile_free): Replace uses of
        DWARF2_PER_OBJFILE by uses of DATA instead.
 
 2013-06-18  Tom Tromey  <tromey@redhat.com>
This page took 0.028234 seconds and 4 git commands to generate.