This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: segmentation fault


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]