This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Make sure target supports non-stop.
- From: Daniel Jacobowitz <drow at false dot org>
- To: Vladimir Prus <vladimir at codesourcery dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 15 Aug 2008 13:44:33 -0400
- Subject: Re: [RFA] Make sure target supports non-stop.
- References: <200808151850.47110.vladimir@codesourcery.com>
On Fri, Aug 15, 2008 at 06:50:47PM +0400, Vladimir Prus wrote:
> * infcmd.c (run_command_1, attach_command): If non-stop mode
> is requested, verify the target supports it.
> * linux-nat.c (linux_nat_supports_non_stop): New.
> (linux_nat_add_target): Register the above.
> * target.c (find_default_supports_non_stop)
> (target_supports_non_stop): New.
> (init_dummy_target): Register find_default_supports_non_stop.
> * target.h (struct target_ops): New field to_supports_non_stop.
> (target_supports_non_stop): New.
I believe this is OK.
--
Daniel Jacobowitz
CodeSourcery