• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision0a17aab91559da81737720f37c4ed5020929ec3b (tree)
Zeit2010-08-07 04:56:02
AutorPedro Alves <palves@redh...>
CommiterPedro Alves

Log Message

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.

Ändern Zusammenfassung

Diff

--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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+
16 2010-04-22 Jan Kratochvil <jan.kratochvil@redhat.com>
27
38 * symfile.c (addr_info_make_relative): Move sect declaration to the
--- a/gdb/thread.c
+++ b/gdb/thread.c
@@ -187,11 +187,11 @@ add_thread_silent (ptid_t ptid)
187187
188188 if (ptid_equal (inferior_ptid, ptid))
189189 {
190- tp = new_thread (ptid);
190+ tp = new_thread (null_ptid);
191191
192192 /* Make switch_to_thread not read from the thread. */
193193 tp->state_ = THREAD_EXITED;
194- switch_to_thread (minus_one_ptid);
194+ switch_to_thread (null_ptid);
195195
196196 /* Now we can delete it. */
197197 delete_thread (ptid);