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: [RFA 03/08] multi-process support: remote multi-process extensions


> From: Pedro Alves <pedro@codesourcery.com>
> Date: Fri, 12 Sep 2008 16:38:58 +0100
> 
> -      if (extended)
> -	puts_filtered ("Detached from remote process.\n");
> +      if (rs->multi_process_aware)
> +	printf_filtered ("Detached from %s.\n",
> +			 target_pid_to_str (pid_to_ptid (pid)));
>        else
> -	puts_filtered ("Ending remote debugging.\n");
> +	{
> +	  /* Unregister the file descriptor from the event loop.  */
> +	  if (target_is_async_p ())
> +	    serial_async (remote_desc, NULL, 0);
> +
> +	  if (extended)
> +	    puts_filtered ("Detached from remote process.\n");
> +	  else
> +	    puts_filtered ("Ending remote debugging.\n");
> +	}

Please put all user-visible messages inside _().


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