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: replace 'target async' by a maintenance command


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


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