From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26464 invoked by alias); 29 Apr 2006 14:48:32 -0000 Received: (qmail 26453 invoked by uid 22791); 29 Apr 2006 14:48:31 -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; Sat, 29 Apr 2006 14:48:30 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-198-67.inter.net.il [80.230.198.67]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id DFU60942 (AUTH halo1); Sat, 29 Apr 2006 17:48:22 +0300 (IDT) Date: Sat, 29 Apr 2006 14:48:00 -0000 Message-Id: From: Eli Zaretskii To: Joel Brobecker , gdb-patches@sources.redhat.com In-reply-to: <20060429142037.GA20825@nevyn.them.org> (message from Daniel Jacobowitz on Sat, 29 Apr 2006 10:20:38 -0400) Subject: Re: [RFC] problem fetching inferior memory due to breakpoint Reply-to: Eli Zaretskii References: <20060426190517.GA930@adacore.com> <20060427205621.GD930@adacore.com> <20060428170001.GE930@adacore.com> <20060429142037.GA20825@nevyn.them.org> 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/msg00389.txt.bz2 > Date: Sat, 29 Apr 2006 10:20:38 -0400 > From: Daniel Jacobowitz > Cc: Joel Brobecker , gdb-patches@sources.redhat.com > > That's why. Your Cygwin compiler uses DWARF-2 unwinding; therefore the > prologue analyzer is never even invoked. Try using -gstabs instead of > -gdwarf-2 (or not using -g at all), and I bet you'll see the problem. Right you are. (Btw, it's not a Cygwin compiler, it's a MinGW compiler.) The MinGW compiler uses stabs by default. I used an explicit "-gdwarf-2" switch because I couldn't imagine the Cygwin port doesn't use DWARF-2. Why doesn't it? (Not that it's related to the issue at hand.)