This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Compile objc-lang.c, objc-exp.tab.c [1/5]
- From: David Carlton <carlton at math dot stanford dot edu>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: Adam Fedor <fedor at doc dot com>, GDB Patches <gdb-patches at sources dot redhat dot com>, Daniel Jacobowitz <drow at mvista dot com>
- Date: 31 Mar 2003 16:45:35 -0800
- Subject: Re: [RFA] Compile objc-lang.c, objc-exp.tab.c [1/5]
- References: <99FCC0F2-63CE-11D7-9F75-000A277AC1A4@doc.com><3E88DDD0.2090603@redhat.com>
On Mon, 31 Mar 2003 19:31:12 -0500, Andrew Cagney <ac131313 at redhat dot com> said:
> The problem with trying to eliminate the parameter is that it also
> means eliminating it from things like fprintf_symbol_filtered().
> While likely a good idea, it is getting beyond the scope of this
> immediate patch.
Yeah, that's a good point: I'd been assuming that having the C++
language vector's member use DMGL_ANSI | DMGL_PARAMS would be good
enough (since we could still allow explicit calls to cplus_demangle
where we need full control over the demangling style), but looking
through the various calls to cplus_demangle and
fprintf_symbol_filtered, I guess that wouldn't be wise just yet. So
probably, for now, we shouldn't get rid of that argument in the
language vector member.
David Carlton
carlton at math dot stanford dot edu