GNU Binutils with patches for OS216
Revision | 0a17aab91559da81737720f37c4ed5020929ec3b (tree) |
---|---|
Zeit | 2010-08-07 04:56:02 |
Autor | Pedro Alves <palves@redh...> |
Commiter | Pedro Alves |
2010-08-06 Maciej W. Rozycki <macro@codesourcery.com>
* thread.c (add_thread_silent): Use null_ptid instead of
minus_one_ptid while getting rid of stale inferior_ptid.
@@ -1,3 +1,8 @@ | ||
1 | +2010-08-06 Maciej W. Rozycki <macro@codesourcery.com> | |
2 | + | |
3 | + * thread.c (add_thread_silent): Use null_ptid instead of | |
4 | + minus_one_ptid while getting rid of stale inferior_ptid. | |
5 | + | |
1 | 6 | 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
2 | 7 | |
3 | 8 | * symfile.c (addr_info_make_relative): Move sect declaration to the |
@@ -187,11 +187,11 @@ add_thread_silent (ptid_t ptid) | ||
187 | 187 | |
188 | 188 | if (ptid_equal (inferior_ptid, ptid)) |
189 | 189 | { |
190 | - tp = new_thread (ptid); | |
190 | + tp = new_thread (null_ptid); | |
191 | 191 | |
192 | 192 | /* Make switch_to_thread not read from the thread. */ |
193 | 193 | tp->state_ = THREAD_EXITED; |
194 | - switch_to_thread (minus_one_ptid); | |
194 | + switch_to_thread (null_ptid); | |
195 | 195 | |
196 | 196 | /* Now we can delete it. */ |
197 | 197 | delete_thread (ptid); |