diff options
author | Doug Evans <xdje42@gmail.com> | 2016-12-22 15:50:10 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2016-12-22 15:50:10 -0800 |
commit | ce0db13751aed2782c417bc4cf715313f9273e94 (patch) | |
tree | a5ea8eda7badbdeab6a22db7f538000331e66b88 /gdb/infrun.c | |
parent | 34c41c681f4a0a0dfe0405c7d2aecf458520557a (diff) | |
download | gdb-ce0db13751aed2782c417bc4cf715313f9273e94.zip gdb-ce0db13751aed2782c417bc4cf715313f9273e94.tar.gz gdb-ce0db13751aed2782c417bc4cf715313f9273e94.tar.bz2 |
infrun.c (set_step_over_info): Add comment.
gdb/ChangeLog:
* infrun.c (set_step_over_info): Add comment.
Diffstat (limited to 'gdb/infrun.c')
-rw-r--r-- | gdb/infrun.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/infrun.c b/gdb/infrun.c index 1a08a09..fb778d3 100644 --- a/gdb/infrun.c +++ b/gdb/infrun.c @@ -1320,7 +1320,9 @@ struct step_over_info static struct step_over_info step_over_info; /* Record the address of the breakpoint/instruction we're currently - stepping over. */ + stepping over. + N.B. We record the aspace and address now, instead of say just the thread, + because when we need the info later the thread may be running. */ static void set_step_over_info (struct address_space *aspace, CORE_ADDR address, |