This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 0/2] Add thread info in 'struct step_over_info'
- From: Yao Qi <qiyaoltc at gmail dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 15 Apr 2016 14:29:19 +0100
- Subject: [PATCH 0/2] Add thread info in 'struct step_over_info'
- Authentication-results: sourceware.org; auth=none
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