From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23298 invoked by alias); 27 Nov 2006 15:05:29 -0000 Received: (qmail 23289 invoked by uid 22791); 27 Nov 2006 15:05:28 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Mon, 27 Nov 2006 15:05:18 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1Goi2k-0000ba-1L; Mon, 27 Nov 2006 10:05:14 -0500 Date: Mon, 27 Nov 2006 15:05:00 -0000 From: Daniel Jacobowitz To: Oliver Block Cc: gdb@sourceware.org, suse-programming-e@suse.com Subject: Re: lib failure? Message-ID: <20061127150513.GA2242@nevyn.them.org> Mail-Followup-To: Oliver Block , gdb@sourceware.org, suse-programming-e@suse.com References: <200611271557.09413.lists@block-online.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200611271557.09413.lists@block-online.eu> User-Agent: Mutt/1.5.13 (2006-08-11) 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: 2006-11/txt/msg00178.txt.bz2 On Mon, Nov 27, 2006 at 03:57:43PM +0100, Oliver Block wrote: > __stat (file=0xbffff070 "\200", buf=0xbffff070) at stat.c:51 > > both arguments of stat hold the same address. file should be AFAIK > fname=0xbffff110. > > I isolated the function to a test_program and it works fine there. You've stepped into some highly optimized code; it's likely that the debug information is not accurate enough to get this right. I would keep debugging into the function a little further before assuming the arguments were wrong. -- Daniel Jacobowitz CodeSourcery