diff options
author | Yao Qi <yao.qi@linaro.org> | 2016-09-02 15:49:57 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2016-09-02 15:49:57 +0100 |
commit | 3b9a79ef767f0e7f8c5fecd7eea920f20084d3d4 (patch) | |
tree | f36b3d25f5add146e8e76932de9578e8492325b9 /gdb/gdbserver/mem-break.h | |
parent | ae9cf263fdd47c30b997fcf4627609df77ca64c1 (diff) | |
download | gdb-3b9a79ef767f0e7f8c5fecd7eea920f20084d3d4.zip gdb-3b9a79ef767f0e7f8c5fecd7eea920f20084d3d4.tar.gz gdb-3b9a79ef767f0e7f8c5fecd7eea920f20084d3d4.tar.bz2 |
[GDBserver] Replace "reinsert_breakpoint" with "single_step_breakpoint"
reinsert_breakpoint is used for software single step, so it is more
clear to rename it to single_step_breakpoint. This was pointed out in
the review https://sourceware.org/ml/gdb-patches/2016-05/msg00429.html
I don't rename "other_breakpoint" in this patch.
gdb/gdbserver:
2016-09-02 Yao Qi <yao.qi@linaro.org>
* linux-low.c: Replace "reinsert_breakpoints" with
"single_step_breakpoints". Replace "reinsert breakpoints"
with "single-step breakpoints".
* mem-break.c: Likewise.
* mem-break.h: Likewise.
Diffstat (limited to 'gdb/gdbserver/mem-break.h')
-rw-r--r-- | gdb/gdbserver/mem-break.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/gdb/gdbserver/mem-break.h b/gdb/gdbserver/mem-break.h index 3322ec5..9e7ee93 100644 --- a/gdb/gdbserver/mem-break.h +++ b/gdb/gdbserver/mem-break.h @@ -101,9 +101,9 @@ int software_breakpoint_inserted_here (CORE_ADDR addr); int hardware_breakpoint_inserted_here (CORE_ADDR addr); -/* Returns TRUE if there's any reinsert breakpoint at ADDR. */ +/* Returns TRUE if there's any single-step breakpoint at ADDR. */ -int reinsert_breakpoint_inserted_here (CORE_ADDR addr); +int single_step_breakpoint_inserted_here (CORE_ADDR addr); /* Clear all breakpoint conditions and commands associated with a breakpoint. */ @@ -152,32 +152,32 @@ struct breakpoint *set_breakpoint_at (CORE_ADDR where, int delete_breakpoint (struct breakpoint *bkpt); -/* Set a reinsert breakpoint at STOP_AT for thread represented by +/* Set a single-step breakpoint at STOP_AT for thread represented by PTID. */ -void set_reinsert_breakpoint (CORE_ADDR stop_at, ptid_t ptid); +void set_single_step_breakpoint (CORE_ADDR stop_at, ptid_t ptid); -/* Delete all reinsert breakpoints of THREAD. */ +/* Delete all single-step breakpoints of THREAD. */ -void delete_reinsert_breakpoints (struct thread_info *thread); +void delete_single_step_breakpoints (struct thread_info *thread); -/* Reinsert all reinsert breakpoints of THREAD. */ +/* Reinsert all single-step breakpoints of THREAD. */ -void reinsert_reinsert_breakpoints (struct thread_info *thread); +void reinsert_single_step_breakpoints (struct thread_info *thread); -/* Uninsert all reinsert breakpoints of THREAD. This still leaves - the reinsert breakpoints in the table. */ +/* Uninsert all single-step breakpoints of THREAD. This still leaves + the single-step breakpoints in the table. */ -void uninsert_reinsert_breakpoints (struct thread_info *thread); +void uninsert_single_step_breakpoints (struct thread_info *thread); /* Reinsert breakpoints at WHERE (and change their status to inserted). */ void reinsert_breakpoints_at (CORE_ADDR where); -/* The THREAD has reinsert breakpoints or not. */ +/* The THREAD has single-step breakpoints or not. */ -int has_reinsert_breakpoints (struct thread_info *thread); +int has_single_step_breakpoints (struct thread_info *thread); /* Uninsert breakpoints at WHERE (and change their status to uninserted). This still leaves the breakpoints in the table. */ |