This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2][PR gdb/20239] Make evaluation and type-printing of all NonZero-optimized enums work
- From: Pedro Alves <palves at redhat dot com>
- To: Manish Goregaokar <manish at mozilla dot com>, Thomas Preudhomme <thomas dot preudhomme at foss dot arm dot com>, gdb-patches at sourceware dot org, Tom Tromey <tom at tromey dot com>
- Date: Wed, 29 Jun 2016 10:41:12 +0100
- Subject: Re: [PATCH 1/2][PR gdb/20239] Make evaluation and type-printing of all NonZero-optimized enums work
- Authentication-results: sourceware.org; auth=none
- References: <CAFOnWkngUQXjGd27gkBnh+3697TUMGk4zcp5uY+MmJXsYusDGw at mail dot gmail dot com> <5013369 dot B1hQpEVniv at e108577-lin> <CAFOnWk=c4PxeagbKO3z2i4uMUPfb_-FVbFh0B4QZMC1aoMUWZA at mail dot gmail dot com>
On 06/29/2016 09:57 AM, Manish Goregaokar wrote:
> No, strsep was just a better fit here. I wasn't aware that it doesn't
> work on windows.
>
> I'll fix it to use strtok.
You can use strtok_r. We pull the gnulib module that ensures it's
always available.
Thanks,
Pedro Alves