From: Doug Evans Date: Thu, 22 Dec 2016 23:50:10 +0000 (-0800) Subject: infrun.c (set_step_over_info): Add comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ce0db13751aed2782c417bc4cf715313f9273e94;p=binutils-gdb.git infrun.c (set_step_over_info): Add comment. gdb/ChangeLog: * infrun.c (set_step_over_info): Add comment. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a9295e23fa3..db6e91361a8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2016-12-22 Doug Evans + + * infrun.c (set_step_over_info): Add comment. + 2016-12-22 Doug Evans * NEWS: Document new syntax for "mt print symbols", "mt print psymbols" diff --git a/gdb/infrun.c b/gdb/infrun.c index 1a08a098b62..fb778d37728 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,