This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patchv2] Fix crash on process name "(sd-pam)" (PR 16594)
- From: Pedro Alves <palves at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Sergio Durigan Junior <sergiodj at redhat dot com>
- Date: Fri, 21 Feb 2014 17:35:44 +0000
- Subject: Re: [patchv2] Fix crash on process name "(sd-pam)" (PR 16594)
- Authentication-results: sourceware.org; auth=none
- References: <20140217212826 dot GA15080 at host2 dot jankratochvil dot net> <20140217220454 dot GA16717 at host2 dot jankratochvil dot net> <530738BA dot 5010306 at redhat dot com> <53073EC1 dot 5060900 at redhat dot com> <20140221172420 dot GA3464 at host2 dot jankratochvil dot net>
On 02/21/2014 05:24 PM, Jan Kratochvil wrote:
> On Fri, 21 Feb 2014 12:55:45 +0100, Pedro Alves wrote:
>> I noticed that 'ps' gets this right, so I've peeked at its
>> sources, and it just looks for the first ')' starting at
>> the end.
>
> Done.
Looks good. Thanks.
--
Pedro Alves