From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23508 invoked by alias); 18 Apr 2006 20:18:03 -0000 Received: (qmail 23490 invoked by uid 71); 18 Apr 2006 20:18:01 -0000 Date: Tue, 18 Apr 2006 20:18:00 -0000 Message-ID: <20060418201801.23489.qmail@sourceware.org> To: nobody@sources.redhat.com Cc: gdb-prs@sources.redhat.com, From: Daniel Jacobowitz Subject: Re: gdb/2117: printing a structure pointer gives "{}" Reply-To: Daniel Jacobowitz Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00016.txt.bz2 List-Id: The following reply was made to PR gdb/2117; it has been noted by GNATS. From: Daniel Jacobowitz To: gdb@fierke.net Cc: gdb-gnats@sources.redhat.com Subject: Re: gdb/2117: printing a structure pointer gives "{}" Date: Tue, 18 Apr 2006 16:10:32 -0400 On Tue, Apr 18, 2006 at 08:03:22PM -0000, gdb@fierke.net wrote: > >Release: 5.0 Is that really true? Are you using GDB 5.0? Check the startup message. What compiler are you using? GCC, or Sun's? > Ever since we migrated to new servers and new GDB (Old version was > 4.16, sparc-sun-solaris2.6), I have not been able to retrieve the > values from any structures. Now, all I get when I do 'p *ordrec' is > {}. This is maddening!! I'm sure I'm overlooking a > very simple item (hopefully). This machine and gdb were configured > by our unix admin group, but I think they did a plain-vanilla install > for GDB. Heck, I'm not sure if I would know exactly how to install > it correctly. If you are really using GDB 5.0, it's quite likely that this has been fixed since. That release is almost six years old. Please, upgrade and try again. -- Daniel Jacobowitz CodeSourcery