This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] nm.c/objdump.c demangle short option bug fix.
Hi Alan,
On Thu, Jun 06, 2002 at 09:21:19PM +0930, Alan Modra wrote:
> On Tue, Jun 04, 2002 at 02:00:47AM +0300, Elias Athanasopoulos wrote:
> > * nm.c: demangle short option bug fix.
> > * objdump.c: Likewise.
>
> This isn't right. -C doesn't take an arg.
I believe it does.
binutils/nm.c (main.c):
case 'C':
do_demangle = 1;
if (optarg != NULL)
{
enum demangling_styles style;
style = cplus_demangle_name_to_style (optarg);
if (style == unknown_demangling)
fatal (_("unknown demangling style `%s'"),
optarg);
cplus_demangle_set_style (style);
}
break;
Elias