[RFC] problem fetching inferior memory due to breakpoint

Eli Zaretskii eliz@gnu.org
Sat Apr 29 14:48:00 GMT 2006


> Date: Sat, 29 Apr 2006 10:20:38 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Joel Brobecker <brobecker@adacore.com>, 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.)



More information about the Gdb-patches mailing list