This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, if your program is threaded and calls exec() or a variant, a ptid will be created with lwp=0. Commands such as "info threads" will trigger an assertion. I've attached a simple fix and testcase for this. When running the testsuite, I am receiving 16 unexpected failures both before and after this fix, so I don't believe I've broken anything that has a proper test. :) Jess
Attachment:
fix_exec_and_threads_bug.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |