RE: async operation

Newman, Mark (N-Superior Technical Resource Inc)
2003-11-17T17:30:44Z

No response on this - so I am going to change GDB so that it will correctly handle an "interrupt" command to stop the inferior when in async mode.

I will put the final changes in as patches and as a bug report unless someone objects.

Mark Newman

> -----Original Message-----
> From: gdb-owner@sources.redhat.com
> [mailto:gdb-owner@sources.redhat.com]On Behalf Of Newman, Mark
> (N-Superior Technical Resource Inc)
> Sent: Friday, November 14, 2003 2:30 PM
> To: gdb@sources.redhat.com
> Subject: async operation
>
>
>
> Is there anyway to cleanly stop a remote target manually when
> in async mode.
>
> I tried using the "stop" command which makes it through the
> async filtering in top.c - however stop simply says it is not
> a valid command. There is logic in here for cleanly stopping
> when a break occurs (?) but I can't find any to allow the
> operator to stop the target?
>
> I add'ed "interrupt" to the filtering but it does not clear
> the target_executing flag.
>
>
> Mark Newman
>