projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add the gdb remote target operations for branch tracing.
[deliverable/binutils-gdb.git]
/
gdb
/
gdbserver
/
inferiors.c
diff --git
a/gdb/gdbserver/inferiors.c
b/gdb/gdbserver/inferiors.c
index ba3c6cd5905bf4d18af9ce7b65da267cda18b62d..6953d0e170bc751996ab0e572e3e36fb208ce424 100644
(file)
--- a/
gdb/gdbserver/inferiors.c
+++ b/
gdb/gdbserver/inferiors.c
@@
-161,6
+161,9
@@
free_one_thread (struct inferior_list_entry *inf)
void
remove_thread (struct thread_info *thread)
{
+ if (thread->btrace != NULL)
+ target_disable_btrace (thread->btrace);
+
remove_inferior (&all_threads, (struct inferior_list_entry *) thread);
free_one_thread (&thread->entry);
}
This page took
0.023677 seconds
and
4
git commands to generate.