Re: [PATCH v2] Improve ptrace-error detection on Linux targets

Pedro Alves
2019-08-30T19:03:39Z

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