mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
Remove need_step_over from struct lwp_info
Hi, I happen to see that field need_step_over in struct lwp_info is only used to print a debug info. need_step_over is set in linux_wait_1 when breakpoint_here is true, however, we check breakpoint_here too in need_step_over_p and do the step over. I think we don't need field need_step_over, and check breakpoint_here directly in need_step_over_p. This field was added in this patch https://sourceware.org/ml/gdb-patches/2010-03/msg00605.html and the code wasn't changed much since then. This patch is to remove it. gdb/gdbserver: 2016-04-28 Yao Qi <yao.qi@linaro.org> * linux-low.h (struct lwp_info) <need_step_over>: Remove. * linux-low.c (linux_wait_1): Update. (need_step_over_p): Likewise.
This commit is contained in:
@ -365,10 +365,6 @@ struct lwp_info
|
||||
a exit-jump-pad-quickly breakpoint. This is it. */
|
||||
struct breakpoint *exit_jump_pad_bkpt;
|
||||
|
||||
/* True if the LWP was seen stop at an internal breakpoint and needs
|
||||
stepping over later when it is resumed. */
|
||||
int need_step_over;
|
||||
|
||||
#ifdef USE_THREAD_DB
|
||||
int thread_known;
|
||||
/* The thread handle, used for e.g. TLS access. Only valid if
|
||||
|
Reference in New Issue
Block a user