From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5374 invoked by alias); 16 Jan 2006 18:32:21 -0000 Received: (qmail 5366 invoked by uid 22791); 16 Jan 2006 18:32:20 -0000 X-Spam-Check-By: sourceware.org Received: from smtp113.sbc.mail.mud.yahoo.com (HELO smtp113.sbc.mail.mud.yahoo.com) (68.142.198.212) by sourceware.org (qpsmtpd/0.31) with SMTP; Mon, 16 Jan 2006 18:32:17 +0000 Received: (qmail 85715 invoked from network); 16 Jan 2006 18:32:14 -0000 Received: from unknown (HELO lucon.org) (hjjean@sbcglobal.net@71.138.13.192 with login) by smtp113.sbc.mail.mud.yahoo.com with SMTP; 16 Jan 2006 18:32:14 -0000 Received: by lucon.org (Postfix, from userid 1000) id 7F7DC64909; Mon, 16 Jan 2006 10:32:13 -0800 (PST) Date: Mon, 16 Jan 2006 18:32:00 -0000 From: "H. J. Lu" To: GDB Subject: Re: Does gdb support weak/normal symbols? Message-ID: <20060116183213.GA12085@lucon.org> References: <20060116004831.GA1186@lucon.org> <20060116014904.GA20402@nevyn.them.org> <20060116154754.GA10336@lucon.org> <20060116155846.GA3580@nevyn.them.org> <20060116181130.GA11897@lucon.org> <20060116183052.GA8425@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060116183052.GA8425@nevyn.them.org> User-Agent: Mutt/1.4.2.1i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00149.txt.bz2 On Mon, Jan 16, 2006 at 01:30:52PM -0500, Daniel Jacobowitz wrote: > On Mon, Jan 16, 2006 at 10:11:31AM -0800, H. J. Lu wrote: > > "break foo" may be slightly different from "break FILE:LINE". For the > > global symbol, foo, there will be only one definition. It is a > > matter of picking the right foo for "break foo". There is no need to > > set multiple breakpoints nor prompt user. > > This is wrong. You're still thinking about a compiler and a linker, > not about a debugger. There may also be a dozen static functions named > "foo", and one of them may happen to be in the current file and the How can a static function be global? H.J.