diff options
Diffstat (limited to 'gdb/btrace.c')
-rw-r--r-- | gdb/btrace.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/btrace.c b/gdb/btrace.c index ba10f78..dc4d686 100644 --- a/gdb/btrace.c +++ b/gdb/btrace.c @@ -1616,7 +1616,7 @@ btrace_enable (struct thread_info *tp, const struct btrace_config *conf) #endif /* !defined (HAVE_LIBIPT) */ DEBUG ("enable thread %s (%s)", print_thread_id (tp), - target_pid_to_str (tp->ptid).c_str ()); + tp->ptid.to_string ().c_str ()); tp->btrace.target = target_enable_btrace (tp->ptid, conf); @@ -1671,7 +1671,7 @@ btrace_disable (struct thread_info *tp) print_thread_id (tp), target_pid_to_str (tp->ptid).c_str ()); DEBUG ("disable thread %s (%s)", print_thread_id (tp), - target_pid_to_str (tp->ptid).c_str ()); + tp->ptid.to_string ().c_str ()); target_disable_btrace (btp->target); btp->target = NULL; @@ -1690,7 +1690,7 @@ btrace_teardown (struct thread_info *tp) return; DEBUG ("teardown thread %s (%s)", print_thread_id (tp), - target_pid_to_str (tp->ptid).c_str ()); + tp->ptid.to_string ().c_str ()); target_teardown_btrace (btp->target); btp->target = NULL; @@ -1912,7 +1912,7 @@ btrace_fetch (struct thread_info *tp, const struct btrace_cpu *cpu) int errcode; DEBUG ("fetch thread %s (%s)", print_thread_id (tp), - target_pid_to_str (tp->ptid).c_str ()); + tp->ptid.to_string ().c_str ()); btinfo = &tp->btrace; tinfo = btinfo->target; @@ -1989,7 +1989,7 @@ btrace_clear (struct thread_info *tp) struct btrace_thread_info *btinfo; DEBUG ("clear thread %s (%s)", print_thread_id (tp), - target_pid_to_str (tp->ptid).c_str ()); + tp->ptid.to_string ().c_str ()); /* Make sure btrace frames that may hold a pointer into the branch trace data are destroyed. */ |