From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11808 invoked by alias); 7 May 2009 20:51:59 -0000 Received: (qmail 11797 invoked by uid 22791); 7 May 2009 20:51:58 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from saturn.robustserver.com (HELO saturn.robustserver.com) (75.126.93.128) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 May 2009 20:51:53 +0000 Received: from [98.221.23.85] (helo=[192.168.10.6]) by saturn.robustserver.com with esmtpa (Exim 4.69) (envelope-from ) id 1M2AZH-00044B-2y for gdb@sourceware.org; Thu, 07 May 2009 16:51:47 -0400 Message-ID: <4A0349E4.5080300@apogeect.com> Date: Thu, 07 May 2009 20:51:00 -0000 From: Frank Middleton User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9.1b3pre) Gecko/20081223 Thunderbird/3.0b1 MIME-Version: 1.0 To: gdb@sourceware.org Subject: Building gdb from cvs 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: 2009-05/txt/msg00034.txt.bz2 Using the supplied SPARC version of gdb, printing of strings works /usr/bin/gdb.6.3.50 --version GNU gdb 6.3.50_2004-11-23-cvs ... 3 char *c = "ABCD"; (gdb) n 4 return 0; (gdb) p c $1 = 0x105a0 "ABCD" But, in order to debug on SPARC, I am using a locally patched version and printing of strings doesn't seem to work any more /usr/local/bin/gdb --version GNU gdb (GDB) 6.8.50.20090427-cvs ... 3 char *c = "ABCD"; (gdb) n 4 return 0; (gdb) p c $1 = 0x105a0 " This must be an artifact of the way this was built (it uses gnu libiconv, for example), or some kind of regression (unlikely). Since it was built with a motley collection of Solaris and gnu libraries, this is probably unreproducible. Can you guess as to which libraries you think might be causing this so I can relink with the gnu ones instead? Thanks