This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: add set cp-abi command
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: Jim Ingham <jingham at apple dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 15 Mar 2002 20:29:24 -0500
- Subject: Re: add set cp-abi command
- References: <186A1078-3843-11D6-8354-000393540DDC@apple.com>
> Andrew,
>
> No, I can't do it this way, because the cp-abi.c file where the command is defined doesn't know what all the available abi's are. They are added dynamically by the other *-abi.c files. The same is true with the set language command in language.c, for example... I would have to add a special completer function to get this to work, and I must admit that is a little beyond the merits of this command, which is, after all, only needed in emergencies, rather than being a workaday type command.
Ah, yes, sigh. It should be easy to to do this. If it isn't there is
another problem (but outside the scope of your change). Suggest
creating a change-request for this.
Andrew