This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Constify gen_printf/ax_string
- From: Keith Seitz <keiths at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Wed, 06 Mar 2013 13:57:10 -0800
- Subject: Re: [RFA] Constify gen_printf/ax_string
- References: <51379F85.4050005@redhat.com> <87vc94i4ea.fsf@fleche.redhat.com>
On 03/06/2013 01:50 PM, Tom Tromey wrote:
Keith> I will be submitting a patch to constify parse_exp_1.
Wow, that must've been a lot of work.
Well, not entirely. This is just the first round. All I did is xstrdup
the input to parse_exp_1 and pass that *as is* to the subroutines. My
plan is to keep pushing this down as much as possible as an attempt to
get things going at least in a piecemeal/manageable way. YMMV.
I have a local branch here that I have modified the parsers and a bunch
of other stuff, too. That patch is already quadruple the size of the
this (as yet unsubmitted) patch. With that, there is still a phenomenal
amount of work to do, but I will keep plugging away at it as time permits.
Keith