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 v2] Improve ptrace-error detection on Linux targets


On 8/29/19 8:48 PM, Sergio Durigan Junior wrote:

> You can see that we're calling "warning", which puts a newline at the
> end of the string.  I think it'd be best to just get rid of the
> "\nError: " suffix.  We'd then have something like:
> 
>    Starting program: /usr/bin/true
>    warning: Could not trace the inferior process.
>    warning: ptrace: Permission denied
>    ....
> 
> WDYT?

Sounds fine to me.

Thanks,
Pedro Alves


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