Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Alex Vinokur" Subject: Re: objdump : inaccurate demangling for foo(char* const) Date: Fri, 19 Sep 2003 07:31:12 +0300 Lines: 55 Message-ID: References: X-Complaints-To: usenet AT sea DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 "Alex Vinokur" wrote in message news:bkdtn1$597$2 AT sea DOT gmane DOT org... > ========================================== > 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 > ========================================== > Updated question about objdump. Low-level and user-level symbol names of foo2(char* const) are foo2(char*) --------- C++ code --------- void foo1 (char*) {} void foo2 (char* const) {} ---------------------------- --------- objdump : Fragments --------- $ objdump -Cd t.o t.o: file format pe-i386 Disassembly of section .text: 00000000 <__Z4foo1Pc>: // OK 00000006 <__Z4foo2Pc>: // char*, not char* const $ objdump -d t.o t.o: file format pe-i386 Disassembly of section .text: 00000000 : // OK 00000006 : // Not char* const -------------------------------------- So, is it inaccuracy or convention? ===================================== Alex Vinokur mailto:alexvn AT connect DOT to http://mathforum.org/library/view/10978.html ===================================== -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/