* thread.c (add_thread): Move observer call to ...
(add_thread_silent): ... here.
This commit is contained in:
parent
889677147d
commit
cfc0146143
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-05-01 Vladimir Prus <vladimir@codesourcery.com>
|
||||
|
||||
* thread.c (add_thread): Move observer call to ...
|
||||
(add_thread_silent): ... here.
|
||||
|
||||
2008-04-30 Ulrich Weigand <uweigand@de.ibm.com>
|
||||
|
||||
* rs6000-tdep.c: Update for unwinder changes.
|
||||
|
|
|
@ -126,6 +126,9 @@ add_thread_silent (ptid_t ptid)
|
|||
tp->num = ++highest_thread_num;
|
||||
tp->next = thread_list;
|
||||
thread_list = tp;
|
||||
|
||||
observer_notify_new_thread (tp);
|
||||
|
||||
return tp;
|
||||
}
|
||||
|
||||
|
@ -138,8 +141,6 @@ add_thread_with_info (ptid_t ptid, struct private_thread_info *private)
|
|||
|
||||
if (print_thread_events)
|
||||
printf_unfiltered (_("[New %s]\n"), target_pid_to_str (ptid));
|
||||
|
||||
observer_notify_new_thread (result);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue