This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: objdump : inaccurate demangling for foo(char* const)


On Fri, Sep 19, 2003 at 06:37:38AM +0300, Alex Vinokur wrote:
> ==========================================
> Windows 2000 Professional
> CYGWIN_NT-5.0 1.5.4(0.94/3/2)
> GNU gcc version 3.2 20020927 (prerelease)
> GNU objdump 2.14.90 20030901
> ==========================================
> 
> 
> It seems that objdump inaccurately demangles foo(char* const).
>   Low-level symbol name of foo(char* const) is valid : __Z3fooPc
>   But user-level symbol name obtained after demangling is inaccurate : foo(char*).

No, _Z3fooPc is the mangling for foo(char *).  It would be _Z3fooKPc.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]