[RFA 03/08] multi-process support: remote multi-process extensions

Eli Zaretskii eliz@gnu.org
Fri Sep 12 16:10:00 GMT 2008


> 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 _().



More information about the Gdb-patches mailing list