OLD | NEW |
1 /* BSD user-level threads support. | 1 /* BSD user-level threads support. |
2 | 2 |
3 Copyright (C) 2005, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2005, 2007-2012 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 the process. Notify GDB core about it. */ | 387 the process. Notify GDB core about it. */ |
388 if (ptid_get_tid (inferior_ptid) == 0 | 388 if (ptid_get_tid (inferior_ptid) == 0 |
389 && ptid_get_tid (ptid) != 0 && !in_thread_list (ptid)) | 389 && ptid_get_tid (ptid) != 0 && !in_thread_list (ptid)) |
390 thread_change_ptid (inferior_ptid, ptid); | 390 thread_change_ptid (inferior_ptid, ptid); |
391 | 391 |
392 /* Don't let the core see a ptid without a corresponding thread. */ | 392 /* Don't let the core see a ptid without a corresponding thread. */ |
393 if (!in_thread_list (ptid) || is_exited (ptid)) | 393 if (!in_thread_list (ptid) || is_exited (ptid)) |
394 add_thread (ptid); | 394 add_thread (ptid); |
395 | 395 |
396 return ptid; | 396 return ptid; |
error: old chunk mismatch |
None
OLD | NEW |