From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19962 invoked by alias); 6 Jul 2013 07:21:09 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 19952 invoked by uid 89); 6 Jul 2013 07:21:09 -0000 X-Spam-SWARE-Status: No, score=-4.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL autolearn=ham version=3.3.1 Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Sat, 06 Jul 2013 07:21:08 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1UvMnq-0005Om-QD from Yao_Qi@mentor.com ; Sat, 06 Jul 2013 00:21:06 -0700 Received: from SVR-ORW-FEM-05.mgc.mentorg.com ([147.34.97.43]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sat, 6 Jul 2013 00:21:06 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.2.247.3; Sat, 6 Jul 2013 00:21:03 -0700 Message-ID: <51D7C543.7030905@codesourcery.com> Date: Sat, 06 Jul 2013 07:21:00 -0000 From: Yao Qi User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Eli Zaretskii CC: , , Subject: Re: [PATCH] Fix up msymbol type of dll trampoline to mst_solib_trampoline References: <1372043502-4618-1-git-send-email-yao@codesourcery.com> <874ncjmgkl.fsf@fleche.redhat.com> <51CD0054.9040401@codesourcery.com> <87ehbmkzqr.fsf@fleche.redhat.com> <51D36FB3.4070006@codesourcery.com> <51D688D3.8000104@gmail.com> <51D6BA7A.7040500@codesourcery.com> <8361wpyta1.fsf@gnu.org> In-Reply-To: <8361wpyta1.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-SW-Source: 2013-07/txt/msg00214.txt.bz2 On 07/05/2013 10:29 PM, Eli Zaretskii wrote: >> Date: Fri, 5 Jul 2013 20:22:18 +0800 >> From: Yao Qi >> CC: Tom Tromey , >> >>> BTW: >>> 1, It looks like I can't set a breakpoint on a function with is __stdcall calling convention >>> When I type: >>> (gdb) b Add_S >>> Function "Add_S" not defined. >>> In fact, the symbol name about "Add_S" function is "Add_S@8", (This can be seen from the disassembler) >>> I don't know how to set such breakpoint by function names. >> >> I am not an expert on windows, but it is a bug to me. > > What exactly do you see as a bug here? > We can't set breakpoint on 'Add_S' in current GDB, (gdb) b Add_S Function "Add_S" not defined. Make breakpoint pending on future shared library load? (y or [n]) IMO, It is expected that 'b Add_S' can set a breakpoint on Add_S. -- Yao (齐尧)