From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7276 invoked by alias); 28 Apr 2006 05:12:10 -0000 Received: (qmail 7261 invoked by uid 22791); 28 Apr 2006 05:12:10 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 28 Apr 2006 05:12:08 +0000 Received: from HOME-C4E4A596F7 (IGLD-83-130-215-212.inter.net.il [83.130.215.212]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id DFP87759 (AUTH halo1); Fri, 28 Apr 2006 08:12:00 +0300 (IDT) Date: Fri, 28 Apr 2006 05:12:00 -0000 Message-Id: From: Eli Zaretskii To: Joel Brobecker CC: gdb-patches@sources.redhat.com In-reply-to: <20060427205621.GD930@adacore.com> (message from Joel Brobecker on Thu, 27 Apr 2006 13:56:21 -0700) Subject: Re: [RFC] problem fetching inferior memory due to breakpoint Reply-to: Eli Zaretskii References: <20060426190517.GA930@adacore.com> <20060427205621.GD930@adacore.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00362.txt.bz2 > Date: Thu, 27 Apr 2006 13:56:21 -0700 > From: Joel Brobecker > Cc: gdb-patches@sources.redhat.com > > > > (gdb) bt > > > #0 0x00401053 in hello () at foo.c:5 > > > #1 0x0022ee88 in ?? () > > > #2 0x00401093 in main () at foo.c:12 > > > > > > We get an extra frame between hello() and main(). > > > > I cannot reproduce this with a MinGW-compiled program, using GDB 6.3 > > and 6.3.50.20051116-cvs. What version of GDB are you using? Is this > > problem visible only in a recent codebase? > > Right now, I'm working on 6.4.50.20060426-cvs. I would pretty surprised > if 6.3 didn't have the problem Then this is very strange, since I don't think the two ports of GCC, the MinGW one and the Cygwin one, produce different code here. We could compare disassembly, I guess. What compilation switches did you use? For that matter, can you compile with -v and post everything that GCC printed?