X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=4c60c7ad6053f8e46ca2a00501dff4a68e1210e8;hb=32a8097ba5dd6ddb71c0fb2fccbac262c371846a;hp=0b0394877296fbafbaecda551efcaf977e8c9ac9;hpb=963f9c80cb3f12fb779cf3189072ac48946da96c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0b03948772..4c60c7ad60 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,275 @@ +2014-10-17 Pedro Alves + + * 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 + + * remote.c (clear_threads_listing_context): Move higher up, out of + the HAVE_LIBEXPAT guard. + +2014-10-16 Tristan Gingold + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * infrun.c (resume): Don't force displaced-stepping for all + single-steps on software single-stepping archs. + +2014-10-15 Pedro Alves + + * 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) + : 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 + + * 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 + + * 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 + + 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) : 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) : + Clear step-over info. + +2014-10-15 Pedro Alves + + * 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 * breakpoint.c (should_be_inserted): Don't insert watchpoints if