From 7f89fd6519250f85f7b3f6c58beef1fc0ffd9a44 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 25 Sep 2014 16:31:04 +0100 Subject: [PATCH] infrun.c: comment/typo fixes gdb/ 2014-09-25 Pedro Alves * infrun.c (stepping_past_instruction_at) (clear_exit_convenience_vars): Point at infrun.h instead of inferior.h. (handle_signal_stop): Fix typo. --- gdb/ChangeLog | 7 +++++++ gdb/infrun.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0efcb72..20a8a8b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2014-09-25 Pedro Alves + + * infrun.c (stepping_past_instruction_at) + (clear_exit_convenience_vars): Point at infrun.h instead of + inferior.h. + (handle_signal_stop): Fix typo. + 2014-09-24 Yao Qi * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the diff --git a/gdb/infrun.c b/gdb/infrun.c index 3725f2d..dc696e9 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1026,7 +1026,7 @@ clear_step_over_info (void) step_over_info.address = 0; } -/* See inferior.h. */ +/* See infrun.h. */ int stepping_past_instruction_at (struct address_space *aspace, @@ -4003,7 +4003,7 @@ handle_signal_stop (struct execution_control_state *ecs) watchpoint expression. We do this by single-stepping the target. - It may not be necessary to disable the watchpoint to stop over + It may not be necessary to disable the watchpoint to step over it. For example, the PA can (with some kernel cooperation) single step over a watchpoint without disabling the watchpoint. @@ -7124,7 +7124,7 @@ save_inferior_ptid (void) return make_cleanup (restore_inferior_ptid, saved_ptid_ptr); } -/* See inferior.h. */ +/* See infrun.h. */ void clear_exit_convenience_vars (void) -- 2.7.4