2011-12-10 Hui Zhu <teawater@gmail.com>
Yao Qi <yao@codesourcery.com> * tracepoint.c (start_tracing): Clear `inserted' flag. 2011-12-10 Yao Qi <yao@codesourcery.com> * gdb.trace/status-stop.exp: New. * gdb.trace/status-stop.c: New.
This commit is contained in:
parent
df5a4bd3a5
commit
4511b1ba87
5 changed files with 186 additions and 0 deletions
|
@ -1756,6 +1756,10 @@ start_tracing (char *notes)
|
|||
struct tracepoint *t = (struct tracepoint *) b;
|
||||
struct bp_location *loc;
|
||||
|
||||
/* Clear `inserted' flag. */
|
||||
for (loc = b->loc; loc; loc = loc->next)
|
||||
loc->inserted = 0;
|
||||
|
||||
if ((b->type == bp_fast_tracepoint
|
||||
? !may_insert_fast_tracepoints
|
||||
: !may_insert_tracepoints))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue