RFC: patch to lin-lwp.c

J. Johnston jjohnstn@redhat.com
Wed Oct 8 20:07:00 GMT 2003


Ok, patch has been checked into mainline.  If it is supposed to also be
in gdb 6.0, let me know.

I fixed the typo in the ChangeLog entry with regards to the file name being changed.

-- Jeff J.

Daniel Jacobowitz wrote:
> On Wed, Aug 06, 2003 at 01:11:09PM -0400, J. Johnston wrote:
> 
>>Sorry, forgot to attach patch.
>>
>>J. Johnston wrote:
>>
>>>The attached patch is created to deal with the problem as discussed on:
>>>
>>> http://sources.redhat.com/ml/gdb/2003-08/msg00043.html
>>>
>>>The fix does two things:
>>>
>>> 1. it sets the resumed flag for threads we stopped when the main thread
>>>    exited and then resumed
>>> 2. changes the running_callback to include threads that have events
>>>    pending on them that will be caught on the next wait
>>>
>>>Ok to commit?
>>>
>>>-- Jeff J.
>>>
>>>2003-08-05  Jeff Johnston  <jjohnstn@redhat.com>
>>>
>>>   * lin-lwp-wait.c (stop_and_resume_callback): Set the resumed flag
>>>   for any lwp we resume.
>>>   (running_callback): Add lwps that have pending status events
>>>   against them to be considered running.
>>>
>>>
>>>
> 
> 
> This patch is OK.  Thanks!
> 



More information about the Gdb-patches mailing list