Fallback to stub-termcap.c on all hosts
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 88286359c7e5ce11a81fd596d56e48a3ca1a2d14..919e93cec168863a76bb20485476d1ae921f5a20 100644 (file)
@@ -1,3 +1,813 @@
+2015-04-06  Pedro Alves  <palves@redhat.com>
+           Bernd Edlinger  <bernd.edlinger@hotmail.de>
+
+       * configure.ac: Remove the mingw32-specific stub-termcap.o
+       fallback, and instead fallback to the stub termcap on all hosts.
+       * configure: Regenerate.
+       * stub-termcap.c [!__MINGW32__] (PC, BC, UP): Define as weak
+       symbols.
+
+2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdbtypes.c (is_dynamic_type_internal): Remove the unused
+       "top_level" parameter.
+       (resolve_dynamic_type_internal): Remove the unused "top_level"
+       parameter.  Update call to is_dynamic_type_internal.
+       (is_dynamic_type): Update call to is_dynamic_type_internal.
+       (resolve_dynamic_range): Update call to
+       resolve_dynamic_type_internal.
+       (resolve_dynamic_union): Likewise.
+       (resolve_dynamic_struct): Likewise.
+       (resolve_dynamic_type): Likewise.
+
+2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * gdbtypes.c (is_dynamic_type_internal): Remove special handling of
+       TYPE_CODE_REF types so that they are not considered as dynamic
+       depending on the referenced type.
+       (resolve_dynamic_type_internal): Likewise.
+
+2015-04-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.in (top_srcdir): New.
+       * configure: Regenerated.
+
+2015-04-02  Gary Benson <gbenson@redhat.com>
+
+       * NEWS: Announce the new default sysroot of "target:".
+
+2015-04-02  Gary Benson <gbenson@redhat.com>
+
+       * main.c (captured_main): Set gdb_sysroot to "target:"
+       if not otherwise set.
+
+2015-04-02  Gary Benson <gbenson@redhat.com>
+
+       * exec.c (exec_file_attach): Support "target:" filenames.
+
+2015-04-02  Gary Benson <gbenson@redhat.com>
+
+       * solib.c (solib_find): Strip "target:" prefix from sysroot
+       if accessing local files.
+
+2015-04-02  Gary Benson <gbenson@redhat.com>
+
+       * symfile.c (symfile_bfd_open): Reorder to remove duplicated
+       checks and error messages.
+
+2015-04-02  Gary Benson <gbenson@redhat.com>
+
+       * remote.h (REMOTE_SYSROOT_PREFIX): Remove definition.
+       (remote_filename_p): Remove declaration.
+       (remote_bfd_open): Likewise.
+       * remote.c (remote_bfd_iovec_open): Remove function.
+       (remote_bfd_iovec_close): Likewise.
+       (remote_bfd_iovec_pread): Likewise.
+       (remote_bfd_iovec_stat): Likewise.
+       (remote_filename_p): Likewise.
+       (remote_bfd_open): Likewise.
+       * symfile.h (gdb_bfd_open_maybe_remote): Remove declaration.
+       * symfile.c (separate_debug_file_exists): Use gdb_bfd_open.
+       (gdb_bfd_open_maybe_remote): Remove function.
+       (symfile_bfd_open):  Replace remote filename check with
+       target filename check.
+       (reread_symbols): Use gdb_bfd_open.
+       * build-id.c (gdbcore.h): New include.
+       (build_id_to_debug_bfd): Use gdb_bfd_open.
+       * infcmd.c (attach_command_post_wait): Remove remote filename
+       check.
+       * solib.c (solib_find): Replace remote-specific handling with
+       target-specific handling.  Update comments where necessary.
+       (solib_bfd_open): Replace remote-specific handling with
+       target-specific handling.
+       (gdb_sysroot_changed): New function.
+       (_initialize_solib): Call the above when gdb_sysroot changes.
+       * windows-tdep.c (gdbcore.h): New include.
+       (windows_xfer_shared_library): Use gdb_bfd_open.
+
+2015-04-02  Gary Benson <gbenson@redhat.com>
+
+       * gdb/gdb_bfd.h (TARGET_SYSROOT_PREFIX): New definition.
+       (is_target_filename): New declaration.
+       (gdb_bfd_has_target_filename): Likewise.
+       (gdb_bfd_open): Update documentation comment.
+       * gdb_bfd.c (target.h): New include.
+       (gdb/fileio.h): Likewise.
+       (is_target_filename): New function.
+       (gdb_bfd_has_target_filename): Likewise.
+       (fileio_errno_to_host): Likewise.
+       (gdb_bfd_iovec_fileio_open): Likewise.
+       (gdb_bfd_iovec_fileio_pread): Likewise.
+       (gdb_bfd_iovec_fileio_close): Likewise.
+       (gdb_bfd_iovec_fileio_fstat): Likewise.
+       (gdb_bfd_open): Use target fileio to access paths prefixed
+       with "target:" where necessary.
+
+2015-04-02  Gary Benson <gbenson@redhat.com>
+
+       * target.h (struct target_ops) <to_filesystem_is_local>:
+       New field.
+       (target_filesystem_is_local): New macro.
+       * target-delegates.c: Regenerate.
+       * remote.c (remote_filesystem_is_local): New function.
+       (init_remote_ops): Initialize to_filesystem_is_local.
+
+2015-04-02  Gary Benson <gbenson@redhat.com>
+
+       * target.h (struct target_ops) <to_fileio_fstat>: New field.
+       (target_fileio_fstat): New declaration.
+       * target.c (target_fileio_fstat): New function.
+       * inf-child.c (inf_child_fileio_fstat): Likewise.
+       (inf_child_target): Initialize to_fileio_fstat.
+       * remote.c (init_remote_ops): Likewise.
+
+2015-04-01  Sasha Smundak  <asmundak@google.com>
+
+       * Makefile.in (SUBDIR_PYTHON_OBJS): Add py-unwind.o.
+       (SUBDIR_PYTHON_SRCS): Add py-unwind.c.
+       (py-unwind.o): New recipe.
+       * NEWS: mention Python frame unwinding.
+       * data-directory/Makefile.in (PYTHON_FILE_LIST): Add
+       gdb/unwinder.py and gdb/command/unwinder.py
+       * python/lib/gdb/__init__.py (packages): Add frame_unwinders
+       list.
+       (execute_unwinders): New function.
+       * python/lib/gdb/command/unwinders.py: New file.
+       * python/lib/gdb/unwinder.py: New file.
+       * python/py-objfile.c (objfile_object): Add frame_unwinders field.
+       (objfpy_dealloc): Decrement frame_unwinders reference count.
+       (objfpy_initialize): Create frame_unwinders list.
+       (objfpy_get_frame_unwinders): New function.
+       (objfpy_set_frame_unwinders): Ditto.
+       (objfile_getset): Add frame_unwinders attribute to Objfile.
+       * python/py-progspace.c (pspace_object): Add frame_unwinders field.
+       (pspy_dealloc): Decrement frame_unwinders reference count.
+       (pspy_initialize): Create frame_unwinders list.
+       (pspy_get_frame_unwinders): New function.
+       (pspy_set_frame_unwinders): Ditto.
+       (pspy_getset): Add frame_unwinders attribute to gdb.Progspace.
+       * python/py-unwind.c: New file.
+       * python/python-internal.h (pspy_get_name_unwinders): New prototype.
+       (objpy_get_frame_unwinders): New prototype.
+       (gdbpy_initialize_unwind): New prototype.
+       * python/python.c (gdbpy_apply_type_printers): Call
+       gdbpy_initialize_unwind.
+
+2015-04-01  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (resume): Check currently_stepping after clearing
+       stepped_breakpoint, not before.
+
+2015-04-01  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (print_target_wait_results): Print all the ptid
+       elements.
+
+2015-04-01  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (keep_going): Also discard cleanups if inserting
+       breakpoints fails.
+
+2015-04-01  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (wait_for_inferior): Install the
+       finish_thread_state_cleanup cleanup across the whole function, not
+       just around handle_inferior_event.
+
+2015-04-01  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (resume) <step past permanent breakpoint>: Use
+       do_target_resume.
+
+2015-04-01  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (linux_handle_extended_wait): Always call set_running.
+
+2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
+
+       * MAINTAINERS (Write After Approval): Add "Pierre-Marie de Rodat".
+
+2015-04-01  Pedro Alves  <palves@redhat.com>
+
+       * linux-thread-db.c (record_thread): Readd the thread to gdb's
+       list if it was marked exited.
+
+2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure: Regenerated.
+
+2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
+           Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Oleg Nesterov  <oleg@redhat.com>
+
+       PR corefiles/16092
+       * linux-tdep.c: Include 'gdbcmd.h' and 'gdb_regex.h'.
+       New enum identifying the various options of the coredump_filter
+       file.
+       (struct smaps_vmflags): New struct.
+       (use_coredump_filter): New variable.
+       (decode_vmflags): New function.
+       (mapping_is_anonymous_p): Likewise.
+       (dump_mapping_p): Likewise.
+       (linux_find_memory_regions_full): New variables
+       'coredumpfilter_name', 'coredumpfilterdata', 'pid', 'filterflags'.
+       Removed variable 'modified'.  Read /proc/<PID>/smaps file; improve
+       parsing of its information.  Implement memory mapping filtering
+       based on its contents.
+       (show_use_coredump_filter): New function.
+       (_initialize_linux_tdep): New command 'set use-coredump-filter'.
+       * NEWS: Mention the possibility of using the
+       '/proc/PID/coredump_filter' file when generating a corefile.
+       Mention new command 'set use-coredump-filter'.
+
+2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * solib-svr4.c (solib_svr4_r_ldsomap): Catch possible exception by
+       read_memory_unsigned_integer.
+
+2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.in (ZLIB): New.
+       (ZLIBINC): Likewise.
+       (INTERNAL_CFLAGS_BASE): Add $(ZLIBINC).
+       (CLIBS): Add $(ZLIB).
+       * acinclude.m4: (GDB_AC_CHECK_BFD): Add $zlibdir to LDFLAGS.
+       Add -lz to LIBS.
+       * gdb_bfd.c: Don't check HAVE_ZLIB_H to include <zlib.h>.
+       * top.c (print_gdb_configuration): Remove --with-zlib and
+       --without-zlib.
+       * config.in: Regenerated.
+       * configure: Likewise.
+
+2015-03-31  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       * NEWS: Mention info os cpus support.
+       * gdb/nat/linux-osdata.c (linux_xfer_osdata_cpus): New function.
+       (struct osdata_type): Add cpus entry, reorder the entries in
+       alphabetical order.
+
+2015-03-31  Matthias Klose  <doko@ubuntu.com>
+
+       * compile/compile.c (compile_to_object): Allow triplets with or
+       without vendor set.
+
+2015-03-30  Doug Evans  <dje@google.com>
+
+       PR c++/18141
+       * cp-namespace.c (cp_search_static_and_baseclasses): Always look for
+       klass in VAR_DOMAIN.
+
+2015-03-30  Gary Benson <gbenson@redhat.com>
+
+       * remote.c (remote_mourn_1): Remove function.  Update all callers
+       to use remote_mourn.
+       (extended_remote_mourn_1): Remove function.  Update all callers
+       to use extended_remote_mourn.
+       (extended_remote_attach_1): Remove function.  Update all callers
+       to use extended_remote_attach.
+
+2015-03-28  James Bowman  <james.bowman@ftdichip.com>
+
+       * Makefile.in (ALL_TARGET_OBS): Add ft32-tdep.o.
+       (HFILES_NO_SRCDIR): Add ft32-tdep.h.
+       (ALLDEPFILES): Add ft32-tdep.c.
+       * configure.tgt: Add FT32 entry.
+       * ft32-tdep.c: New file, FT32 target-dependent code.
+       * ft32-tdep.h: New file, FT32 target-dependent code.
+
+2015-03-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Revert:
+       2015-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+       Code cleanup.
+       * printcmd.c (print_command_1): Move expr variable scope.
+
+2015-03-27  Joel Brobecker  <brobecker@adacore.com>
+
+       * dtrace-probe.c (dtrace_process_dof_probe): Initialize expr to NULL.
+
+2015-03-27  Andrzej Kaczmarek  <andrzej.kaczmarek@tieto.com>
+
+       * gdb_bfd.c (gdb_bfd_section_index): Fix off-by-one for special
+       sections.
+
+2015-03-26  Joel Brobecker  <brobecker@adacore.com>
+
+       * dtrace-probe.c (dtrace_process_dof_probe): Contain any
+       exception raised while parsing the probe arguments.
+       Force parsing to be done using the C language parser.
+       * expression.h (parse_expression_with_language): Declare.
+       * parse.c (parse_expression_with_language): New function.
+
+2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
+
+       * MAINTAINERS (Write After Approval): Add "Jon Turney".
+
+2015-03-26  Andy Wingo  <wingo@igalia.com>
+
+       PR symtab/18148
+       * dwarf2read.c (struct partial_die_info): Add has_const_value
+       member.
+       (add_partial_symbol): Don't punt on symbols that have const_value
+       attributes.
+       (read_partial_die): Detect DW_AT_const_value.
+
+2015-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * printcmd.c (print_command_1): Move expr variable scope.
+
+2015-03-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Code cleanup.
+       * printcmd.c (validate_format): Make the parameter cmdname const.
+
+2015-03-26  Don Breazeal  <donb@codesourcery.com>
+
+       * remote.c (_initialize_remote): Update comment.
+
+2015-03-26  Pedro Alves  <palves@redhat.com>
+           Jon TURNEY  <jon.turney@dronecode.org.uk>
+
+       * coffread.c (coff_symfile_read): When constructing the name of an
+       import stub symbol from import symbol for amd64, only skip the
+       char after _imp_ if the target is underscored (like i386) and the
+       char is indeed the target's leading char.
+
+2015-03-25  Pedro Alves  <palves@redhat.com>
+
+       * target.h <to_async>: Replace 'callback' and 'context' parameters
+       with boolean 'enable' parameter.
+       (target_async): Replace CALLBACK and CONTEXT parameters with
+       boolean ENABLE parameter.
+       * inf-loop.c (inferior_event_handler): Adjust.
+       * linux-nat.c (linux_nat_attach, linux_nat_resume)
+       (linux_nat_resume): Adjust.
+       (async_client_callback, async_client_context): Delete.
+       (handle_target_event): Call inferior_event_handler directly.
+       (linux_nat_async): Replace 'callback' and 'context' parameters
+       with boolean 'enable' parameter.  Adjust.  Remove references to
+       async_client_callback and async_client_context.
+       (linux_nat_close): Adjust.
+       * record-btrace.c (record_btrace_async): Replace 'callback' and
+       'context' parameters with boolean 'enable' parameter.  Adjust.
+       (record_btrace_resume): Adjust.
+       * record-full.c (record_full_async): Replace 'callback' and
+       'context' parameters with boolean 'enable' parameter.  Adjust.
+       (record_full_resume, record_full_core_resume): Adjust.
+       * remote.c (struct remote_state) <async_client_callback,
+       async_client_context>: Delete fields.
+       (remote_start_remote, extended_remote_attach_1, remote_resume)
+       (extended_remote_create_inferior): Adjust.
+       (remote_async_serial_handler): Call inferior_event_handler
+       directly.
+       (remote_async): Replace 'callback' and 'context' parameters with
+       boolean 'enable' parameter.  Adjust.
+       * top.c (gdb_readline_wrapper_cleanup, gdb_readline_wrapper):
+       Adjust.
+       * target-delegates.c: Regenerate.
+
+2015-03-25  Gary Benson <gbenson@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * target.c (fileio_ft_t): New typedef, define object vector.
+       (fileio_fhandles): New static variable.
+       (is_closed_fileio_fh): New macro.
+       (lowest_closed_fd): New static variable.
+       (acquire_fileio_fd): New function.
+       (release_fileio_fd): Likewise.
+       (fileio_fd_to_fh): New macro.
+       (target_fileio_open): Wrap the file descriptor on success.
+       (target_fileio_pwrite): Updated to use wrapped file descriptor.
+       (target_fileio_pread): Likewise.
+       (target_fileio_close): Likewise.
+
+2015-03-24  Pedro Alves  <palves@redhat.com>
+
+       * thread.c (thread_apply_all_command): Take exited threads into
+       account.
+
+2015-03-24  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (resume, proceed): Mention
+       switch_back_to_stepped_thread, not switch_back_to_stepping.
+
+2015-03-24  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (user_visible_resume_ptid): Rewrite going from
+       most-locked to unlocked instead of the opposite.  Move comment ...
+       * infrun.h (user_visible_resume_ptid): ... here.
+
+2015-03-24  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (linux_nat_resume): Output debug logs before trying
+       to resume the event lwp.  Use the lwp's ptid instead of the passed
+       in (maybe wildcard) ptid.
+       (stop_wait_callback): Tweak debug log output.
+       (check_stopped_by_breakpoint): Tweak debug log output.  Also dump
+       TRAP_TRACE.
+       (linux_nat_filter_event): In debug output, distinguish a
+       resume_stop SIGSTOP from a delayed SIGSTOP.  Output debug logs
+       before trying to resume the lwp.
+
+2015-03-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbtypes.h (struct dynamic_prop_list) <prop>: Remove
+       pointer indirection.
+       * gdbtypes.c (get_dyn_prop): Adjust, following change above.
+       (add_dyn_prop, copy_dynamic_prop_list): Likewise.
+
+2015-03-24  Joel Brobecker  <brobecker@adacore.com>
+
+       * gdbtypes.h (enum dynamic_prop_node_kind) <DYN_PROP_DATA_LOCATION>:
+       Renames DYN_ATTR_DATA_LOCATION.
+       (TYPE_DATA_LOCATION): Use DYN_PROP_DATA_LOCATION instead of
+       DYN_ATTR_DATA_LOCATION.
+       * dwarf2read.c (set_die_type): Use DYN_PROP_DATA_LOCATION
+       instead of DYN_ATTR_DATA_LOCATION.
+
+2015-03-24  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (until_break_command): Adjust call to proceed.
+       * gdbthread.h (struct thread_control_state) <stepping_command>:
+       New field.
+       * infcall.c (run_inferior_call): Adjust call to proceed.
+       * infcmd.c (run_command_1, proceed_thread_callback, continue_1):
+       Adjust calls to proceed.
+       (set_step_frame): Set the current thread's step_start_function
+       here.
+       (step_once): Adjust calls to proceed.
+       (jump_command, signal_command, until_next_command)
+       (finish_backward, finish_forward, proceed_after_attach_callback)
+       (attach_command_post_wait): Adjust calls to proceed.
+       * infrun.c (proceed_after_vfork_done): Adjust call to proceed.
+       (do_target_resume): New function, factored out from ...
+       (resume): ... here.  Remove 'step' parameter.  Instead, check
+       currently_stepping to determine whether the thread should be
+       single-stepped.
+       (proceed): Remove 'step' parameter and don't set the thread's
+       step_start_function here.  Adjust call to 'resume'.
+       (handle_inferior_event): Adjust calls to 'resume'.
+       (switch_back_to_stepped_thread): Use do_target_resume instead of
+       'resume'.
+       (keep_going): Adjust calls to 'resume'.
+       * infrun.h (proceed): Remove 'step' parameter.
+       (resume): Likewise.
+       * windows-nat.c (do_initial_windows_stuff): Adjust call to
+       'resume'.
+       * mi/mi-main.c (proceed_thread): Adjust call to 'proceed'.
+
+2015-03-24  Pedro Alves  <palves@redhat.com>
+
+       * gdbthread.h (struct thread_control_state) <stepping_command>:
+       New field.
+       * infcmd.c (step_once): Pass step=1 to clear_proceed_status.  Set
+       the thread's stepping_command field.
+       * infrun.c (resume): Check the thread's stepping_command flag to
+       determine which threads should be resumed.  Rename 'entry_step'
+       local to user_step.
+       (clear_proceed_status_thread): Clear 'stepping_command'.
+       (schedlock_applies): Change parameter type to struct thread_info
+       pointer.  Adjust.
+       (find_thread_needs_step_over): Remove 'step' parameter.  Adjust.
+       (switch_back_to_stepped_thread): Adjust calls to
+       'schedlock_applies'.
+       (_initialize_infrun): Adjust "set scheduler-locking step" help.
+
+2015-03-24  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (step_start_function): Delete and ...
+       * gdbthread.h (struct thread_control_state) <step_start_function>:
+       ... now a field here.
+       * infrun.c (clear_proceed_status_thread): Clear the thread's
+       step_start_function.
+       (proceed, process_event_stop_test, print_stop_event): Adjust.
+
+2015-03-24  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (proceed): No longer handle negative step.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * nat/x86-linux.h (x86_linux_new_thread): New declaration.
+       (x86_linux_prepare_to_resume): Likewise.
+       * x86-linux-nat.c (x86_linux_new_thread):
+       Moved to nat/x86-linux.c.
+       (x86_linux_prepare_to_resume): Likewise.
+       * nat/x86-linux.c (x86_linux_new_thread): New function.
+       (x86_linux_prepare_to_resume): Likewise.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * nat/x86-linux-dregs.h: New file.
+       * nat/x86-linux-dregs.c: Likewise.
+       * Makefile.in (HFILES_NO_SRCDIR): Add nat/x86-linux-dregs.h.
+       (x86-linux-dregs.o): New rule.
+       * config/i386/linux.mh (NATDEPFILES): Add x86-linux-dregs.o.
+       * config/i386/linux64.mh (NATDEPFILES): Likewise.
+       * x86-linux-nat.c: Include nat/x86-linux-dregs.h.
+       (u_debugreg_offset): Moved to nat/x86-linux-dregs.c.
+       (x86_linux_dr_get): Likewise.
+       (x86_linux_dr_set): Likewise.
+       (x86_linux_dr_get_addr): Likewise.
+       (x86_linux_dr_get_control): Likewise.
+       (x86_linux_dr_get_status): Likewise.
+       (update_debug_registers_callback): Likewise.
+       (x86_linux_dr_set_control): Likewise.
+       (x86_linux_dr_set_addr): Likewise.
+       (x86_linux_update_debug_registers): Likewise.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * x86-linux-nat.c (x86_linux_update_debug_registers):
+       New function, factored out from...
+       (x86_linux_prepare_to_resume): ...this.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * x86-linux-nat.c (x86_linux_dr_get): Update comments.
+       (x86_linux_dr_set): Likewise.
+       (x86_linux_dr_get_addr): Likewise.
+       (x86_linux_dr_get_control): Likewise.
+       (x86_linux_dr_get_status): Likewise.
+       (update_debug_registers_callback): Likewise.
+       (x86_linux_dr_set_control): Likewise.
+       (x86_linux_dr_set_addr): Likewise.
+       (x86_linux_prepare_to_resume): Likewise.
+       (x86_linux_new_thread): Likewise.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * x86-linux-nat.c (x86_linux_dr_set_addr): Update assertion.
+       (x86_linux_new_thread): Rename argument.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * nat/x86-linux.h: New file.
+       * nat/x86-linux.c: Likewise.
+       * Makefile.in (HFILES_NO_SRCDIR): Add nat/x86-linux.h.
+       (x86-linux.o): New rule.
+       * config/i386/linux.mh (NATDEPFILES): Add x86-linux.o.
+       * config/i386/linux64.mh (NATDEPFILES): Likewise.
+       * nat/linux-nat.h (struct arch_lwp_info): New forward declaration.
+       (lwp_set_arch_private_info): New declaration.
+       (lwp_arch_private_info): Likewise.
+       * linux-nat.c (lwp_set_arch_private_info): New function.
+       (lwp_arch_private_info): Likewise.
+       * x86-linux-nat.c: Include nat/x86-linux.h.
+       (arch_lwp_info): Removed structure.
+       (update_debug_registers_callback):
+       Use lwp_set_debug_registers_changed.
+       (x86_linux_prepare_to_resume): Use lwp_debug_registers_changed
+       and lwp_set_debug_registers_changed.
+       (x86_linux_new_thread): Use lwp_set_debug_registers_changed.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * nat/linux-nat.h (ptid_of_lwp): New declaration.
+       (lwp_is_stopped): Likewise.
+       (lwp_stop_reason): Likewise.
+       * linux-nat.c (ptid_of_lwp): New function.
+       (lwp_is_stopped): Likewise.
+       (lwp_is_stopped_by_watchpoint): Likewise.
+       * x86-linux-nat.c (update_debug_registers_callback):
+       Use lwp_is_stopped.
+       (x86_linux_prepare_to_resume): Use ptid_of_lwp and
+       lwp_stop_reason.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * linux-nat.h (linux_stop_lwp): Move declaration to...
+       * nat/linux-nat.h (linux_stop_lwp): New declaration.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * linux-nat.h: Include nat/linux-nat.h.
+       (iterate_over_lwps): Move declaration to nat/linux-nat.h.
+       * nat/linux-nat.h (struct lwp_info): New forward declaration.
+       (iterate_over_lwps_ftype): New typedef.
+       (iterate_over_lwps): New declaration.
+       * linux-nat.h (iterate_over_lwps): Update comment.  Use
+       iterate_over_lwps_ftype.  Update callback return value check.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * x86-nat.h (x86_debug_reg_state): Move declaration to...
+       * nat/x86-dregs.h (x86_debug_reg_state): New declaration.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * nat/linux-nat.h (current_lwp_ptid): New declaration.
+       * linux-nat.c (current_lwp_ptid): New function.
+       * x86-linux-nat.c: Include nat/linux-nat.h.
+       (x86_linux_dr_get_addr): Use current_lwp_ptid.
+       (x86_linux_dr_get_control): Likewise.
+       (x86_linux_dr_get_status): Likewise.
+       (x86_linux_dr_set_control): Likewise.
+       (x86_linux_dr_set_addr): Likewise.
+
+2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
+
+       PR breakpoints/16466
+       * breakpoint.c (create_breakpoint): Set thread on breakpoint struct.
+
+2015-03-23  Joel Brobecker  <brobecker@adacore.com>
+
+       * ser-mingw.c (ser_windows_setparity): Fix indentation.
+       * ser-unix.c (hardwire_setparity): Likewise.
+
+2015-03-23  Yurij Grechishhev  <yurij.grechishhev@gmail.com>
+
+       * NEWS: Mention set/show serial parity command.
+       * monitor.c (monitor_open): Call serial_setparity.
+       * remote.c (remote_open_1): Likewise.
+       * ser-base.c (ser_base_serparity): New function.
+       * ser-base.h (ser_base_setparity): Add  declaration.
+       * ser-go32.c (dos_ops): Set "setparity" field.
+       * ser-mingw.c (ser_windows_raw): Do not set state.fParity and
+       state.Parity.
+       (ser_windows_setparity): New function.
+       (hardwire_ops): Add ser_windows_setparity.
+       (tty_ops): Add NULL for setparity field.
+       (pipe_ops): Add ser_base_setparity.
+       (tcp_ops): Likewise.
+       * ser-pipe.c (pipe_ops): Likewise.
+       * ser-tcp.c (tcp_ops): Likewise.
+       * ser-unix.c (hardwire_setparity): Add declaration.
+       (hardwire_raw): Don't reset PARENB flag.
+       (hardwire_setparity): New function.
+       (hardwire_ops): Add hardwire_setparity.
+       * serial.c (serial_setparity): New function.
+       (serial_parity): New global.
+       (parity_none, parity_odd, parity_even, parity_enums, parity):
+       New static globals.
+       (set_parity): New function.
+       (_initialize_serial): Add set/show serial parity commands.
+       * serial.h (GDBPARITY_NONE): Define.
+       (GDBPARITY_ODD): Define.
+       (GDBPARITY_EVEN): Define.
+       (serial_setparity) Add declaration.
+       (struct serial_ops): Add setparity field.
+       * target.h (serial_parity): Add declaration.
+
+2015-03-23  Keith Seitz  <keiths@redhat.com>
+
+       * linespec.c (linespec_lexer_lex_keyword): Update comment.
+
+2015-03-23  Keith Seitz  <keiths@redhat.com>
+
+       * breakpoint.c (parse_breakpoint_sals): Use
+       linespec_lexer_lex_keyword to ascertain if the user specified
+       a NULL location.
+       * linespec.c [IF_KEYWORD_INDEX]: Define.
+       (linespec_lexer_lex_keyword): Export.
+       (struct ls_parser) <keyword_ok>: Remove.
+       A keyword is only a keyword if not followed by another keyword.
+       (linespec_lexer_lex_one): Remove keyword_ok handling.
+       Add comment explaining why the parsing stream is not advanced
+       when a keyword is seen.
+       (parse_linespec): Remove parser->keyword_ok.
+       * linespec.h (linespec_lexer_lex_keyword): Add declaration.
+
+2015-03-23  Keith Seitz  <keiths@redhat.com>
+
+       PR gdb/18021
+       * dwarf2read.c (dwarf2_add_member_fn): Issue a complaint
+       if we find a static method with DW_AT_vtable_elem_location.
+
+2015-03-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * tui/tui-io.c (tui_expand_tabs): Reinitialize the column counter
+       before the second loop, to avoid undefined behavior.  Reported by
+       Anton Blanchard <anton@samba.org>.
+
+2015-03-20  Keven Boell  <keven.boell@intel.com>
+
+       * gdbtypes.c (resolve_dynamic_type_internal): Adapt
+       data_location usage to linked list.
+       (resolve_dynamic_type_internal): Adapt data_location to
+       linked list.
+       (get_dyn_prop, add_dyn_prop, copy_dynamic_prop_list): New function.
+       (copy_type_recursive, copy_type): Add copy of linked list.
+       * gdbtypes.h (enum dynamic_prop_node_kind): New enum.
+       (struct dynamic_prop_list): New struct.
+       * dwarf2read.c (set_die_type): Set data_location data.
+
+2015-03-20  Pedro Alves  <palves@redhat.com>
+
+       * i386-sol2-tdep.c (i386_sol2_static_transform_name): Move "p" to
+       inner block and make it const.
+       * machoread.c (get_archive_prefix_len): Make "lparen" const.
+
+2015-03-20  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (set_breakpoint_condition): Make argument "exp" const.
+       * breakpoint.h (set_breakpoint_condition): Update declaration.
+
+2015-03-20  Pedro Alves  <palves@redhat.com>
+
+       * tui/tui-io.c (tui_expand_tabs): Make "s1" const.
+
+2015-03-20  Pedro Alves  <palves@redhat.com>
+
+       * xcoffread.c (scan_xcoff_symtab): Make "p" and "q" const.
+
+2015-03-20  Pedro Alves  <palves@redhat.com>
+
+       * remote-m32r-sdi.c (m32r_open): Make "port_str" const.
+
+2015-03-20  Pedro Alves  <palves@redhat.com>
+
+       * nto-tdep.c (nto_find_and_open_solib): Make "endian" const.
+       (nto_init_solib_absolute_prefix): Likewise.
+
+2015-03-20  Pedro Alves  <palves@redhat.com>
+
+       * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Make "p" const.
+       * spu-tdep.c (spu_gdbarch_init): Make "name" const.
+
+2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       * config/djgpp/README: Remove gdb.hp.
+
+2015-03-20  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_gdbarch_init): Don't call
+       set_gdbarch_cannot_step_breakpoint.
+
+2015-03-19  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (linux_resume_one_lwp): Rename to ...
+       (linux_resume_one_lwp_throw): ... this.  Don't handle ESRCH here,
+       instead call perror_with_name.
+       (check_ptrace_stopped_lwp_gone): New function.
+       (linux_resume_one_lwp): Reimplement as wrapper around
+       linux_resume_one_lwp_throw that swallows errors if the LWP is
+       gone.
+       (resume_stopped_resumed_lwps): Try register reads in TRY/CATCH and
+       swallows errors if the LWP is gone.  Use
+       linux_resume_one_lwp_throw instead of linux_resume_one_lwp.
+
+2015-03-19  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (status_callback): Return early if the LWP has no
+       status pending.
+
+2015-03-19  Pedro Alves  <palves@redhat.com>
+
+       * linux-nat.c (select_event_lwp_callback): Update comment to no
+       longer mention SIGTRAP.
+
+2015-03-18  Tristan Gingold  <gingold@adacore.com>
+
+        * amd64-windows-tdep.c (amd64_windows_find_unwind_info): Move
+        redirection code to ...
+        (amd64_windows_frame_decode_insns): ... Here.  Fix in prologue
+        checks.  Fix SAVE_NONVOL operations.  Add debug code and comments.
+
+2015-03-18  Gary Benson <gbenson@redhat.com>
+
+       (remote_protocol_features): Remove the "vFile:fstat" feature.
+       (remote_hostio_fstat): Probe for "vFile:fstat" support.
+
+2015-03-11  Yao Qi  <yao.qi@linaro.org>
+
+       PR tdep/18107
+       * aarch64-linux-tdep.c: Include xml-syscall.h
+       (aarch64_linux_get_syscall_number): New function.
+       (aarch64_linux_init_abi): Call
+       set_gdbarch_get_syscall_number.
+       * syscalls/aarch64-linux.xml: New file.
+
+2015-03-17  Yurij Grechishhev  <yurij.grechishhev@gmail.com>
+
+       * ser-base.h (ser_base_setstopbits): Change second argument name
+       from "rate" to "num".
+
+2015-03-17  Gary Benson <gbenson@redhat.com>
+           Luke Allardyce <lukeallardyce@gmail.com>
+
+       PR gdb/18131
+       * common/common-remote-fileio.h (sys/stat.h): New include.
+       (stuct stat): Remove forward declaration.
+
+2015-03-16  John Baldwin  <jhb@FreeBSD.org>
+
+       * fbsd-tdep.c (fbsd_make_corefile_notes): Fetch all target registers
+       before writing core register notes.
+
+2015-03-16  Yuanhui Zhang  <asmwarrior@gmail.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * gdb_curses.h (tgetnum): Mark with EXTERN_C.
+       * stub-termcap.c (tgetent, tgetnum, tgetflag, tgetstr, tputs)
+       (tgoto): Wrap with extern "C".
+
+2015-03-16  Pedro Alves  <palves@redhat.com>
+           Yuanhui Zhang  <asmwarrior@gmail.com>
+
+       * stub-termcap.c (tputs): Change prototype.
+
 2015-03-16  Yuanhui Zhang  <asmwarrior@gmail.com>
            Pedro Alves  <palves@redhat.com>
 
This page took 0.040626 seconds and 4 git commands to generate.