mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't try to enable event reporting for core file, it is not writable.
This commit is contained in:
parent
0fa2f94316
commit
e8595f94cd
1 changed files with 2 additions and 0 deletions
|
|
@ -660,6 +660,8 @@ attach_thread (ptid_t ptid, const td_thrhandle_t *th_p,
|
|||
|
||||
if (! IS_THREAD(ptid))
|
||||
return;
|
||||
if (fbsd_thread_core != 0)
|
||||
return;
|
||||
/* Enable thread event reporting for this thread. */
|
||||
err = td_thr_event_enable_p (th_p, 1);
|
||||
if (err != TD_OK)
|
||||
|
|
|
|||
Loading…
Reference in a new issue