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: attach& support, and attach "async + sync_execution" support.


On Fri, Mar 14, 2008 at 08:05:39AM +0000, Pedro Alves wrote:
> 2008-03-14  Pedro Alves  <pedro@codesourcery.com>
> 
> 	* infcmd.c (attach_command_async_continuation): New.
> 	(attach_command): Support background async execution, and async
> 	execution in synchronous mode.

Could you do some refactoring on this, please?  It duplicates code
from attach_command.  When I fixed up step last year I moved the
common code into its own function.  Makes it much easier to see
the differences between async and sync operation.  And for instance
it lets me see that you're calling deprecated_attach_hook twice
in async mode :-)

-- 
Daniel Jacobowitz
CodeSourcery


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