[PATCH 0/2] Add thread info in 'struct step_over_info'

Yao Qi
2016-04-15T13:29:50Z

During the review https://sourceware.org/ml/gdb-patches/2016-04/msg00211.html,
we need to record the thread infor in step_over_info so that we know
the thread we are stepping over. After I add thread info into
'struct step_over_info', I find other two fields in 'struct step_over_info'
become redundant, because 'aspace' and 'address' can be got from
'thread'. On the hand, the step over info can be regarded as the
the thread we stepping over.

This patch series add a new field 'thread' and remove fields 'aspace' and
'address'.

Regression tested on x86_64-linux and aarch64-linux.

*** BLURB HERE ***

Yao Qi (2):
Refactor function set_step_over_info
Replace address and aspace with thread in struct step_over_info

gdb/infrun.c | 50 ++++++++++++++++++++++++++------------------------
1 file changed, 26 insertions(+), 24 deletions(-)

--
1.9.1