From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3247 invoked by alias); 11 Nov 2006 20:46:06 -0000 Received: (qmail 3234 invoked by uid 22791); 11 Nov 2006 20:46:06 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sat, 11 Nov 2006 20:46:01 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1Gizjj-0003vx-Dj; Sat, 11 Nov 2006 15:45:59 -0500 Date: Sat, 11 Nov 2006 20:46:00 -0000 From: Daniel Jacobowitz To: =?iso-8859-1?Q?Ra=FAl?= Huertas Cc: gdb@sourceware.org Subject: Re: segmentation fault Message-ID: <20061111204559.GA15104@nevyn.them.org> Mail-Followup-To: =?iso-8859-1?Q?Ra=FAl?= Huertas , gdb@sourceware.org References: <200611110221.11772.oliver@block-online.eu> <455632B3.2020909@ya.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <455632B3.2020909@ya.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-11/txt/msg00075.txt.bz2 On Sat, Nov 11, 2006 at 09:29:39PM +0100, Raúl Huertas wrote: > No. ;) > Maybe I'm wrong, but sptr is a pointer, so it uses 0x804b028 and 0x804b029. > The memory pointed by this pointer is the one that has size 16. You're incorrect, in fact. The original poster's interpretation is reasonable, assuming that GDB has printed out the correct values of variables. -- Daniel Jacobowitz CodeSourcery