This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: strip stdcall suffixes under Cygwin
> 2002-03-27 Jim Blandy <jimb@redhat.com>
>
> * config/i386/tm-cygwin.h: #define
> LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES.
> * symtab.c (LINKER_SYMBOLS_HAVE_WIN32_STDCALL_ARG_SIZES): Provide
> default #definition here, if tm-*.h file doesn't have one.
> (symbol_init_mangled_name): If the above is #defined, strip off
> the stdcall arg size, if present, from linker symbol names before
> trying to demangle them.
>
>
> Er, this is a new macro. It should be a new method in the architecture vector.
Hmm (yes, I know, it's bad form to follow up your own e-mail), is this
an attribute of the object file's symbol information and hence can be
set by examining that info? If that is true there is no need to
multi-arch it.
enjoy,
Andrew