Delete Tru64 support
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 977590a9f116b4875f4954a7675ae3e255d12244..4c60c7ad6053f8e46ca2a00501dff4a68e1210e8 100644 (file)
@@ -1,3 +1,344 @@
+2014-10-17  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
+       (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
+       (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
+       solib-osf.c.
+       * NEWS: Mention that support for alpha*-*-osf* has been removed.
+       * ada-lang.h [__alpha__ && __osf__]
+       (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
+       * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
+       * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
+       GDB_OSABI_OSF1.
+       * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
+       files.
+       * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
+       (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
+       * configure: Regenerate.
+       * configure.ac: Remove references to osf.
+       * configure.host: Handle alpha*-*-osf* in the obsolete hosts
+       section.  Remove all other references to osf.
+       * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
+       Remove all other references to osf.
+       * dec-thread.c: Delete file.
+       * defs.h (GDB_OSABI_OSF1): Delete.
+       * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
+       defined.
+       * osabi.c (gdb_osabi_names): Delete "OSF/1".
+       * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
+       Delete code.
+       (unconditionally_kill_inferior)
+       [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
+       * solib-osf.c: Delete file.
+
+2014-10-17  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (clear_threads_listing_context): Move higher up, out of
+       the HAVE_LIBEXPAT guard.
+
+2014-10-16  Tristan Gingold  <gingold@adacore.com>
+
+       * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
+       (i386_darwin_store_inferior_registers): Sanitize gs and fs values
+       on amd64.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * dec-thread.c (dec_thread_count_gdb_threads)
+       (dec_thread_add_gdb_thread): Delete.
+       (dec_thread_update_thread_list): Delete.
+       (dec_thread_find_new_threads): Rename to ...
+       (dec_thread_update_thread_list): ... this.  Delete GDB-size
+       threads that are no longer found in dec_thread_list.
+       (resync_thread_list): Delete.
+       (dec_thread_wait): Call dec_thread_update_thread_list instead of
+       resync_thread_list.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
+       * remote.c (remote_update_thread_list): Skip calling prune_threads
+       if any thread listing method is supported, and instead walk over
+       the set of remote threads listed, deleting those that are not
+       found in GDB's thread list.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
+       * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
+       (bsd_uthread_update_thread_list): ... this.  Call prune_threads.
+       (bsd_uthread_target): Adjust.
+       * corelow.c (core_open): Adjust.
+       * dec-thread.c (dec_thread_find_new_threads): Update comment.
+       (dec_thread_update_thread_list): New function.
+       (init_dec_thread_ops): Adjust.
+       * gdbthread.h (prune_threads): New declaration.
+       * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
+       (thread_db_update_thread_list): ... this.  Call prune_threads.
+       (init_thread_db_ops): Adjust.
+       * nto-procfs.c (procfs_find_new_threads): Rename to ...
+       (procfs_update_thread_list): ... this.  Call prune_threads.
+       (procfs_attach, procfs_create_inferior, init_procfs_targets):
+       Adjust.
+       * obsd-nat.c (obsd_find_new_threads): Rename to ...
+       (obsd_update_thread_list): ... this.  Call prune_threads.
+       (obsd_add_target): Adjust.
+       * procfs.c (procfs_target): Adjust.
+       (procfs_notice_thread): Update comment.
+       (procfs_find_new_threads): Rename to ...
+       (procfs_update_thread_list): ... this.  Call prune_threads.
+       * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
+       comment.
+       (ravenscar_wait): Adjust.
+       (ravenscar_find_new_threads): Rename to ...
+       (ravenscar_update_thread_list): ... this.  Call prune_threads.
+       (init_ravenscar_thread_ops): Adjust.
+       * record-btrace.c (record_btrace_find_new_threads): Rename to ...
+       (record_btrace_update_thread_list): ... this.  Adjust comment.
+       (init_record_btrace_ops): Adjust.
+       * remote.c (remote_threads_info): Rename to ...
+       (remote_update_thread_list): ... this.  Call prune_threads.
+       (remote_start_remote, extended_remote_attach_1, init_remote_ops):
+       Adjust.
+       * sol-thread.c (check_for_thread_db): Adjust.
+       (sol_find_new_threads_callback): Rename to ...
+       (sol_update_thread_list_callback): ... this.
+       (sol_find_new_threads): Rename to ...
+       (sol_update_thread_list): ... this.  Call prune_threads.  Adjust.
+       (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
+       * target-delegates.c: Regenerate.
+       * target.c (target_find_new_threads): Rename to ...
+       (target_update_thread_list): ... this.
+       * target.h (struct target_ops): Rename to_find_new_threads field
+       to to_update_thread_list.
+       (target_find_new_threads): Rename to ...
+       (target_update_thread_list): ... this.
+       * thread.c (prune_threads): Make extern.
+       (update_thread_list): Adjust.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * remote.c (remote_get_threadlist, remote_threadlist_iterator):
+       Add describing comment.  Return -1 if the qL packet is not
+       supported.
+       (struct thread_item, thread_item_t): Move higher up in
+       the file.  Add comments.
+       (struct threads_parsing_context): Move higher up in
+       the file, add comments, and remote to ...
+       (struct threads_listing_context): ... this.
+       (remote_newthread_step): Don't add the thread to GDB's thread
+       database here.  Instead push it to the thread_listing_context
+       list.
+       (remote_find_new_threads): Rename to ...
+       (remote_get_threads_with_ql): ... this.  Add target_ops and
+       targets_listing_context parameters.  Pass down context.
+       (start_thread): Adjust.
+       (clear_threads_parsing_context): Rename to ...
+       (clear_threads_listing_context): ... this.
+       (remote_get_threads_with_qxfer): New, with parts salvaged from old
+       remote_threads_info.
+       (remote_get_threads_with_qthreadinfo): Ditto.
+       (remote_threads_info): Reimplement.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (resume): Don't force displaced-stepping for all
+       single-steps on software single-stepping archs.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (single_step_breakpoints): Delete global.
+       (insert_single_step_breakpoint): Adjust to store the breakpoint
+       pointer in the current thread.
+       (single_step_breakpoints_inserted, remove_single_step_breakpoints)
+       (cancel_single_step_breakpoints): Delete functions.
+       (breakpoint_has_location_inserted_here): Make extern.
+       (single_step_breakpoint_inserted_here_p): Adjust to walk the
+       breakpoint list.
+       * breakpoint.h (breakpoint_has_location_inserted_here): New
+       declaration.
+       (single_step_breakpoints_inserted, remove_single_step_breakpoints)
+       (cancel_single_step_breakpoints): Remove declarations.
+       * gdbthread.h (struct thread_control_state)
+       <single_step_breakpoints>: New field.
+       (delete_single_step_breakpoints)
+       (thread_has_single_step_breakpoints_set)
+       (thread_has_single_step_breakpoint_here): New declarations.
+       * infrun.c (follow_exec): Also clear the single-step breakpoints.
+       (singlestep_breakpoints_inserted_p, singlestep_ptid)
+       (singlestep_pc): Delete globals.
+       (infrun_thread_ptid_changed): Remove references to removed
+       globals.
+       (resume_cleanups): Delete the current thread's single-step
+       breakpoints.
+       (maybe_software_singlestep): Remove references to removed globals.
+       (resume): Adjust to use thread_has_single_step_breakpoints_set and
+       delete_single_step_breakpoints.
+       (init_wait_for_inferior): Remove references to removed globals.
+       (delete_thread_infrun_breakpoints): Delete the thread's
+       single-step breakpoints too.
+       (delete_just_stopped_threads_infrun_breakpoints): Don't delete
+       single-step breakpoints here.
+       (delete_stopped_threads_single_step_breakpoints): New function.
+       (adjust_pc_after_break): Adjust to use
+       thread_has_single_step_breakpoints_set.
+       (handle_inferior_event): Remove references to removed globals.
+       Use delete_stopped_threads_single_step_breakpoints.
+       (handle_signal_stop): Adjust to per-thread single-step
+       breakpoints.  Swap test order to do cheaper tests first.
+       (switch_back_to_stepped_thread): Extend debug output.  Remove
+       references to removed globals.
+       * record-full.c (record_full_wait_1): Adjust to per-thread
+       single-step breakpoints.
+       * thread.c (delete_single_step_breakpoints)
+       (thread_has_single_step_breakpoints_set)
+       (thread_has_single_step_breakpoint_here): New functions.
+       (clear_thread_inferior_resources): Also delete the thread's
+       single-step breakpoints.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * thread.c (delete_thread_breakpoint): New function.
+       (delete_step_resume_breakpoint)
+       (delete_exception_resume_breakpoint): Use it.
+       (delete_at_next_stop): New function.
+       (clear_thread_inferior_resources): Use delete_at_next_stop.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
+       (breakpoint_inserted_here_p): ... here.  Remove special case for
+       software single-step breakpoints.
+       (find_non_raw_software_breakpoint_inserted_here): Inline ...
+       (software_breakpoint_inserted_here_p): ... here.  Remove special
+       case for software single-step breakpoints.
+       (bp_target_info_copy_insertion_state)
+       (deprecated_insert_raw_breakpoint)
+       (deprecated_remove_raw_breakpoint): Delete functions.
+       * breakpoint.h (deprecated_insert_raw_breakpoint)
+       (deprecated_remove_raw_breakpoint): Remove declarations.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       PR breakpoints/9649
+       * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
+       Delete array globals.
+       (single_step_breakpoints): New global.
+       (breakpoint_xfer_memory): Remove special handling for single-step
+       breakpoints.
+       (update_breakpoints_after_exec): Delete bp_single_step
+       breakpoints.
+       (detach_breakpoints): Remove special handling for single-step
+       breakpoints.
+       (breakpoint_init_inferior): Delete bp_single_step breakpoints.
+       (bpstat_stop_status): Add comment.
+       (bpstat_what, bptype_string, print_one_breakpoint_location)
+       (adjust_breakpoint_address, init_bp_location): Handle
+       bp_single_step.
+       (new_single_step_breakpoint): New function.
+       (set_momentary_breakpoint, bkpt_remove_location): Remove special
+       handling for single-step breakpoints.
+       (insert_single_step_breakpoint, single_step_breakpoints_inserted)
+       (remove_single_step_breakpoints, cancel_single_step_breakpoints):
+       Rewrite.
+       (detach_single_step_breakpoints, find_single_step_breakpoint):
+       Delete functions.
+       (breakpoint_has_location_inserted_here): New function.
+       (single_step_breakpoint_inserted_here_p): Rewrite.
+       * breakpoint.h: Remove FIXME.
+       (enum bptype) <bp_single_step>: New enum value.
+       (insert_single_step_breakpoint): Update comment.
+       * infrun.c (resume_cleanups)
+       (delete_step_thread_step_resume_breakpoint): Remove single-step
+       breakpoints.
+       (fetch_inferior_event): Install a cleanup that removes infrun
+       breakpoints.
+       (switch_back_to_stepped_thread) <expect thread advanced also>:
+       Clear step-over info.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (delete_step_resume_breakpoint_callback): Delete.
+       (delete_thread_infrun_breakpoints): New function, with parts
+       salvaged from delete_step_resume_breakpoint_callback.
+       (delete_step_thread_step_resume_breakpoint): Delete.
+       (for_each_just_stopped_thread_callback_func): New typedef.
+       (for_each_just_stopped_thread): New function.
+       (delete_just_stopped_threads_infrun_breakpoints): New function.
+       (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
+       (delete_just_stopped_threads_infrun_breakpoints_cleanup):
+       ... this.  Adjust.
+       (wait_for_inferior, fetch_inferior_event): Adjust to renames.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.c (should_be_inserted): Don't insert watchpoints if
+       trying to step past a non-steppable watchpoint.
+       * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
+       field.
+       * infrun.c (struct step_over_info): Add new field
+       'nonsteppable_watchpoint_p' and adjust comments.
+       (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
+       Adjust.
+       (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
+       (stepping_past_nonsteppable_watchpoint): New function.
+       (step_over_info_valid_p): Also return true if stepping past a
+       nonsteppable watchpoint.
+       (proceed): Adjust call to set_step_over_info.  Remove reference to
+       init_infwait_state.
+       (init_wait_for_inferior): Remove reference to init_infwait_state.
+       (waiton_ptid): Delete global.
+       (struct execution_control_state)
+       <stepped_after_stopped_by_watchpoint>: Delete field.
+       (wait_for_inferior, fetch_inferior_event): Always pass
+       minus_one_ptid to target_wait.
+       (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
+       field.
+       (init_infwait_state): Delete function.
+       (handle_inferior_event): Remove infwait_state handling.
+       (handle_signal_stop) <watchpoints handling>: Adjust after
+       stepped_after_stopped_by_watchpoint removal.  Don't remove
+       breakpoints here nor set infwait_state.  Set the thread's
+       stepping_over_watchpoint flag, and call keep_going instead.
+       (keep_going): Handle stepping_over_watchpoint.  Adjust
+       set_step_over_info calls.
+       * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
+       function.
+
+2014-10-15  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (step_over_info_valid_p): New function.
+       (resume): Use step_over_info_valid_p instead of checking the
+       threads's trap_expected flag.
+
+2014-10-15  Doug Evans  <dje@google.com>
+           Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       PR python/17364
+       * python/lib/gdb/__init__.py (packages): Add "printer".
+       * python/lib/gdb/command/bound_registers.py: Moved to ...
+       * python/lib/gdb/printer/bound_registers.py: ... here.
+       Add printer to global set of builtin printers.  Rename printer from
+       "bound" to "mpx_bound128".
+       * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
+       registered as global "builtin" printer.
+       (add_builtin_pretty_printer): New function.
+       * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
+       gdb/printer/__init__.py.
+
+2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * Makefile.in (SFILES): Remove d-support.c.
+       (COMMON_OBS): Remove d-support.o.
+       * d-lang.h (d_parse_symbol): Remove declaration.
+       * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
+       * d-support.c: Remove file.
+
+2014-10-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * gdb/infrun.c (process_event_stop_test): Apply
+       gdbarch_addr_bits_remove to longjmp resume address.
+
 2014-10-15  Pedro Alves  <palves@redhat.com>
 
        * regformats/microblaze.dat: Delete file.
This page took 0.034203 seconds and 4 git commands to generate.