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]

Re: [PATCH] infun debug: Use correct target pid


>>>>> "Alan" == Alan Hayward <Alan.Hayward@arm.com> writes:

Alan> The infrun debug reads the id for the exited thread from the ws value.
Alan> However, this is always 0, causing an assert in find_inferior_pid.

Alan> Instead, the id should be read from the wait return value.

FWIW this is already being discussed in another thread:

https://sourceware.org/ml/gdb-patches/2019-03/msg00516.html

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]