From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31887 invoked by alias); 9 Aug 2011 09:11:23 -0000 Received: (qmail 31878 invoked by uid 22791); 9 Aug 2011 09:11:22 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-fx0-f41.google.com (HELO mail-fx0-f41.google.com) (209.85.161.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 09 Aug 2011 09:11:08 +0000 Received: by fxg9 with SMTP id 9so5806947fxg.0 for ; Tue, 09 Aug 2011 02:11:07 -0700 (PDT) Received: by 10.223.76.201 with SMTP id d9mr8913701fak.119.1312881067124; Tue, 09 Aug 2011 02:11:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.115.11 with HTTP; Tue, 9 Aug 2011 02:10:27 -0700 (PDT) In-Reply-To: <1282119424.1953.1.camel@gumtree> References: <1281513884.1935.7.camel@gumtree> <20100811203057.GA25122@caradoc.them.org> <1282119424.1953.1.camel@gumtree> From: Hui Zhu Date: Tue, 09 Aug 2011 09:11:00 -0000 Message-ID: Subject: Re: [RFC] make gdb handle weak function better To: gdb@sourceware.org Cc: Daniel Jacobowitz , Chris January Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-08/txt/msg00023.txt.bz2 Now, GDB have support multi-address breakpoint. I think maybe we can do some work around it to fix it. Thanks, Hui On Wed, Aug 18, 2010 at 16:17, Chris January wr= ote: > On Wed, 2010-08-11 at 16:31 -0400, Daniel Jacobowitz wrote: >> That makes sense, although it may be system-specific. =A0Even better >> would be to revisit our support for multiple-location breakpoints. >> "break calloc" ought to stop on every instance of calloc. > > Aside from breakpoints you still need to know which 'calloc' the dynamic > linker has bound in order to evaluate function calls, i.e. > print calloc(100) > ought to call the same 'calloc' as the inferior. > > Regards, > Chris > > > > > This e-mail message may contain confidential and/or privileged informatio= n. If you are not an addressee or otherwise authorized to receive this mess= age, you should not use, copy, disclose or take any action based on this e-= mail or any information contained in the message. > If you have received this material in error, please advise the sender imm= ediately by reply e-mail and delete this message. Thank you. > Allinea Software Limited: Registered in England and Wales No: 6871298 > Registered Address: The Innovation Centre, Warwick Technology Park, Gallo= ws Hill, Warwick, CV34 6UW, United Kingdom >