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: [PATCH 3/6] Downgrade fatal to warning in linux_async


On 08/06/2014 04:58 PM, Gary Benson wrote:
> This commit downgrades a fatal error to a warning in linux_async.
> linux_async is called from two different places in gdbserver:
> 
>  Via target_async from handle_accept_event.  The argument
>    is always zero, so The warning will never be printed here

Typo "The" and period.

>  Via start_non_stop from handle_general_set.  This prints
>    its own error message to stderr on failure, which will
>    be preceded by the warning if it is emitted.
> 
> gdb/gdbserver/
> 2014-08-06  Gary Benson  <gbenson@redhat.com>
> 
> 	* linux-low.c (linux_async): Replace fatal with warning.
> 	Tidy up and return.
> 	(linux_start_non_stop): Return -1 if linux_async failed.

This is OK.

Thanks,
Pedro Alves


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