fix skipping permanent breakpoints
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index d6125d71c3d4dcdcc2075f425830dd157532ac95..43bd9b7a1b53ee8f03266a378da9a8bf3073b0a5 100644 (file)
@@ -1,3 +1,132 @@
+2014-11-12  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
+       Rewrite stepping over a permanent breakpoint.
+       (thread_still_needs_step_over, proceed): Don't set
+       stepping_over_breakpoint for permanent breakpoints.
+       (handle_signal_stop): Don't clear stepped_breakpoint.  Also pull
+       single-step breakpoints out of the target on hardware step
+       targets.
+       (process_event_stop_test): If stepping a permanent breakpoint
+       doesn't hit the step-resume breakpoint, delete the step-resume
+       breakpoint.
+       (switch_back_to_stepped_thread): Also check if the stepped thread
+       has advanced already on hardware step targets.
+       (currently_stepping): Return true if the thread stepped a
+       breakpoint.
+
+2014-11-12  Pedro Alves  <palves@redhat.com>
+
+       Mark locations as permanent, not the whole breakpoint.
+       * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust.
+       (mark_breakpoints_out): Don't mark permanent breakpoints as
+       uninserted.
+       (breakpoint_init_inferior): Use mark_breakpoints_out.
+       (breakpoint_here_p): Adjust.
+       (bpstat_stop_status, describe_other_breakpoints): Remove handling
+       of permanent breakpoints.
+       (make_breakpoint_permanent): Mark each location as permanent,
+       instead of marking the breakpoint.
+       (add_location_to_breakpoint): If the location is permanent, mark
+       it as such, and as inserted.
+       (init_breakpoint_sal): Don't make the breakpoint permanent here.
+       (bp_location_compare, update_global_location_list): Adjust.
+       (update_breakpoint_locations): Don't make the breakpoint permanent
+       here.
+       (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent
+       breakpoints.
+       * breakpoint.h (enum enable_state) <bp_permanent>: Delete field.
+       (struct bp_location) <permanent>: New field.
+       * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove
+       reference to bp_permanent.
+
+2014-11-12  Pedro Alves  <palves@redhat.com>
+
+       * arch-utils.c (default_skip_permanent_breakpoint): New function.
+       * arch-utils.h (default_skip_permanent_breakpoint): New
+       declaration.
+       * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function.
+       Install default_skip_permanent_breakpoint as default method.
+       * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function.
+       (i386_gdbarch_init): Don't install it.
+       * infrun.c (resume): Assume there's always a
+       gdbarch_skip_permanent_breakpoint implementation.
+       * gdbarch.h, gdbarch.c: Regenerate.
+
+2014-11-11  Daniel Colascione  <dancol@dancol.org>
+
+       Warn about cross-PID-namespace debugging.
+       * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype.
+       * nat/linux-procfs.c (linux_proc_pid_get_ns): New function.
+       * linux-thread-db.c (check_pid_namespace_match): New function.
+       (thread_db_inferior_created): Call it.
+
+2014-11-10  Doug Evans  <xdje42@gmail.com>
+
+       * symmisc.c (print_objfile_statistics): Remove trailing whitespace.
+       (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
+
+2014-11-10  Doug Evans  <xdje42@gmail.com>
+
+       * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
+
+2014-11-10  Doug Evans  <xdje42@gmail.com>
+
+       PR symtab/17564
+       * symtab.c (lookup_symbol_in_all_objfiles): Delete.
+       (lookup_static_symbol): Move definition to new location and rewrite.
+       (lookup_symbol_in_objfile): New function.
+       (lookup_symbol_global_iterator_cb): Call it.
+
+2014-11-10  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
+
+2014-11-07  Pedro Alves  <palves@redhat.com>
+
+       * infrun.c (process_event_stop_test) <subroutine check>: Don't
+       check if we did a "nexti" inside a prologue.
+       * symtab.c (in_prologue): Delete function.
+       * symtab.h (in_prologue): Delete declaration.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.h (lookup_global_symbol): Improve function comment.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
+       All callers updated.
+       * symtab.h (lookup_global_symbol): Update decl.
+       (lookup_static_symbol): Move decl to better location.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
+       All callers updated.
+       (lookup_symbol_in_all_objfiles): Renamed from
+       lookup_symbol_aux_symtabs.  All callers updated.
+       (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
+       All callers updated.
+       (lookup_symbol_in_objfile_symtabs): Renamed from
+       lookup_symbol_aux_objfile.  All callers updated.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_symbol_in_block): Renamed from
+       lookup_symbol_aux_block.  All callers updated.
+
+2014-11-06  Doug Evans  <xdje42@gmail.com>
+
+       * symtab.c (lookup_static_symbol): Renamed from
+       lookup_static_symbol_aux.  All callers updated.
+       (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
+       All callers updated.
+
 2014-11-06  Doug Evans  <xdje42@gmail.com>
 
        * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
This page took 0.026113 seconds and 4 git commands to generate.