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: [RFA] Unbreak 'target async'.


On Sat, Feb 23, 2008 at 09:30:56PM +0300, Vladimir Prus wrote:
> 
> Presently, if I connect to gdbserver using 'target async'
> and then to 'continue', then continue never finishes.
> What happens is that serial_async first calls scb->ops->async,
> and only then sets scb->async_handler.
> However, ser_base_async calls reschedule which calls serial_is_async,
> which checks scb->async_handler. Since it's not set yet,
> async mode is never enabled.
> 
> The below patch allows me to do 'continue' successfully.
> I did not run the testsuite, since it's apparent that
> this patch cannot break "target async" more that it's broken now.
> OK?

OK.

-- 
Daniel Jacobowitz
CodeSourcery


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