From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4699 invoked by alias); 4 Sep 2008 14:17:57 -0000 Received: (qmail 4688 invoked by uid 22791); 4 Sep 2008 14:17:55 -0000 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 04 Sep 2008 14:17:15 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 15EF62A95BF; Thu, 4 Sep 2008 10:17:14 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UaIk5a7ycT7W; Thu, 4 Sep 2008 10:17:14 -0400 (EDT) Received: from [127.0.0.1] (nile.gnat.com [205.232.38.5]) by rock.gnat.com (Postfix) with ESMTP id ED0132A95BE; Thu, 4 Sep 2008 10:17:13 -0400 (EDT) Message-ID: <48BFEDE8.6090002@adacore.com> Date: Thu, 04 Sep 2008 14:17:00 -0000 From: Robert Dewar User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Paul Koning CC: gdb@sourceware.org Subject: Re: how to examine data with compiler optimization option set? References: <1220390777.48bdaf79617dd@imp.free.fr> <48BDB1B0.4040703@adacore.com> <1220391632.48bdb2d04bfd7@imp.free.fr> <48BDB4E2.9010301@adacore.com> <20080902215623.GA3779@adacore.com> <48BDD4B7.5060503@vmware.com> <48BF04C6.8030108@adacore.com> <48BFBE10.30902@adacore.com> <18623.60121.742830.903401@gargle.gargle.HOWL> <48BFEBCE.8080102@adacore.com> <18623.60617.309938.395215@gargle.gargle.HOWL> In-Reply-To: <18623.60617.309938.395215@gargle.gargle.HOWL> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: 2008-09/txt/msg00029.txt.bz2 Paul Koning wrote: >> Robert> Well on entry to a function, (if you breakpoint on entry), > Robert> the parameters cannot have been overwritten yet I would > Robert> think! > > Agreed. > > I haven't run into trouble there (on MIPS that is), provided the > breakpoint is set after the function prologue. I am sure this is a target specific problem, I am using x86 windows. > > paul >