From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11255 invoked by alias); 1 Oct 2010 19:28:24 -0000 Received: (qmail 11241 invoked by uid 22791); 1 Oct 2010 19:28:23 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU X-Spam-Check-By: sourceware.org Received: from caiajhbdcbbj.dreamhost.com (HELO homiemail-a3.g.dreamhost.com) (208.97.132.119) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 01 Oct 2010 19:28:18 +0000 Received: from homiemail-a3.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id D1A27284076 for ; Fri, 1 Oct 2010 12:28:16 -0700 (PDT) Received: from on6jc.ampr.net (host180.190-136-57.telecom.net.ar [190.136.57.180]) (Authenticated sender: john@jcoppens.com) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTPA id EC22B28406C for ; Fri, 1 Oct 2010 12:28:15 -0700 (PDT) Date: Fri, 01 Oct 2010 19:28:00 -0000 From: John Coppens To: gdb@sourceware.org Subject: Re: Debugging classes. Message-Id: <20101001162814.622b8aab.john@jcoppens.com> In-Reply-To: <20101001150705.ab95907e.john@jcoppens.com> References: <20101001150705.ab95907e.john@jcoppens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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: 2010-10/txt/msg00002.txt.bz2 On Fri, 1 Oct 2010 15:07:05 -0300 John Coppens wrote: > Cannot access memory at address 0xb7 > Gdb has problems visualizing values with optimizing on (-O2 in my case). Solutions: - Switch optimizing off, or - Use a previous 'this', when it was still valid Thanks to the #gdb IRC channel, I received suggestions that gdb 4.5.x has some of these problems solved. Cheers, John