FreeBSD Bugzilla – Attachment 162124 Details for
Bug 203661
devel/gdb: Regression in gdb-7.10: system(3) conflicts with -pthread compile option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixing patch
thread-fork.patch (text/plain), 646 bytes, created by
luca.pizzamiglio
on 2015-10-16 15:57:23 UTC
(
hide
)
Description:
Fixing patch
Filename:
MIME Type:
Creator:
luca.pizzamiglio
Created:
2015-10-16 15:57:23 UTC
Size:
646 bytes
patch
obsolete
>diff --git a/devel/gdb/files/fbsd-threads.c b/devel/gdb/files/fbsd-threads.c >index 8051758..79a0b6d 100644 >--- a/devel/gdb/files/fbsd-threads.c >+++ b/devel/gdb/files/fbsd-threads.c >@@ -764,7 +764,9 @@ fbsd_thread_wait (struct target_ops *ops, > td_thrinfo_t ti; > > ret = beneath->to_wait (beneath, ptid, ourstatus, options); >- if (GET_PID(ret) >= 0 && ourstatus->kind == TARGET_WAITKIND_STOPPED) >+ if (GET_PID(ret) >= 0 && >+ ( ourstatus->kind == TARGET_WAITKIND_STOPPED || >+ ourstatus->kind == TARGET_WAITKIND_FORKED ) ) > { > lwp = get_current_lwp (GET_PID(ret)); > ret = thread_from_lwp (BUILD_LWP(lwp, GET_PID(ret)),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
luca.pizzamiglio:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 203661
:
161857
|
161858
|
162124
|
162807