This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: replace 'target async' by a maintenance command
- From: Daniel Jacobowitz <drow at false dot org>
- To: Pedro Alves <pedro at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 5 Jun 2008 15:24:52 -0400
- Subject: Re: replace 'target async' by a maintenance command
- References: <200805171558.21392.pedro@codesourcery.com>
On Sat, May 17, 2008 at 03:58:21PM +0100, Pedro Alves wrote:
> OK?
OK. Thanks for doing this, it's wanted doing for ages.
> @@ -3132,11 +3130,10 @@ remote_resume (ptid_t ptid, int step, en
> putpkt (buf);
> }
>
> -/* Same as remote_resume, but with async support. */
> static void
> -remote_async_resume (ptid_t ptid, int step, enum target_signal siggnal)
> +remote_resume (ptid_t ptid, int step, enum target_signal siggnal)
> {
> - remote_resume (ptid, step, siggnal);
> + remote_resume_1 (ptid, step, siggnal);
>
> /* We are about to start executing the inferior, let's register it
> with the event loop. NOTE: this is the one place where all the
This is now the only caller of remote_resume_1, you can just combine
the two functions.
--
Daniel Jacobowitz
CodeSourcery