From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26150 invoked by alias); 4 Apr 2006 23:20:44 -0000 Received: (qmail 26142 invoked by uid 22791); 4 Apr 2006 23:20:43 -0000 X-Spam-Check-By: sourceware.org Received: from dsl027-180-168.sfo1.dsl.speakeasy.net (HELO sunset.davemloft.net) (216.27.180.168) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 04 Apr 2006 23:20:43 +0000 Received: from localhost ([127.0.0.1] ident=davem) by sunset.davemloft.net with esmtp (Exim 4.60) (envelope-from ) id 1FQupR-0003YG-1l; Tue, 04 Apr 2006 16:20:53 -0700 Date: Tue, 04 Apr 2006 23:20:00 -0000 Message-Id: <20060404.162052.87950568.davem@davemloft.net> To: drow@false.org Cc: gdb@sources.redhat.com Subject: Re: Unreasonable expectation in gdb.base/break.exp From: "David S. Miller" In-Reply-To: <20060404231225.GA14228@nevyn.them.org> References: <20060404230535.GA13959@nevyn.them.org> <20060404.160901.88045460.davem@davemloft.net> <20060404231225.GA14228@nevyn.them.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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-04/txt/msg00025.txt.bz2 From: Daniel Jacobowitz Date: Tue, 4 Apr 2006 19:12:25 -0400 > On Tue, Apr 04, 2006 at 04:09:01PM -0700, David S. Miller wrote: > > The function name will be the inline function name, because > > that is the function we will be "in", not main(). And that > > could basically be anything. > > Well, no, it shouldn't be. It should be some day, but for the moment, > gdb will report that you're in main no matter what's been inlined into > it. Indeed, you are right. I just rechecked exactly what happens and it does report "main ( ... ) at stdlib.h:333" So do you agree to change the check to just verify that we are in fact in main()? Thanks.