From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15512 invoked by alias); 30 Jun 2005 19:10:36 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15348 invoked by uid 22791); 30 Jun 2005 19:10:23 -0000 Received: from [195.243.234.146] (HELO mail.logit-ag.de) (195.243.234.146) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 30 Jun 2005 19:10:22 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.logit-ag.de (Postfix) with ESMTP id 6CF96102BB for ; Thu, 30 Jun 2005 21:10:10 +0200 (CEST) Received: from mail.logit-ag.de ([127.0.0.1]) by localhost (mail.logit-ag.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01385-03 for ; Thu, 30 Jun 2005 21:10:09 +0200 (CEST) Received: from [194.99.8.170] (island-ni.intern.logit-ag.de [194.99.8.170]) by mail.logit-ag.de (Postfix) with ESMTP id A9E865444 for ; Thu, 30 Jun 2005 21:10:09 +0200 (CEST) Message-ID: <42C445E9.7000205@isle.spb.ru> Date: Thu, 30 Jun 2005 19:10:00 -0000 From: =?KOI8-R?Q?=ED=C9=C8=C1=C9=CC_=E9=D7=C1=CE=CF=D7?= Reply-To: ivans@isle.spb.ru User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: How to configure gdb on sparc sun solaris 2.9? Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-06/txt/msg00317.txt.bz2 Hallo! I'm trying to build gdb on sparc sun solaris 2.9, but I cannot get it to run correctly. By default it configures for sparc-sun-solaris2.9. In this configuration it refuses to start executables with "procfs: process not stopped" diagnostics. The same error occured when I configured it as sparc64-sun-solaris2.9. When I compile it explicitely in 64 bit mode (-xarch=v9 for Sun Studio compiler and -m64 for gcc compiler) gdb was able to start the program, but refuses to print the contents of variables with the following diagnostics: Cannot access memory at address 0x7ffffac8 I tried both sun studio and gcc 3.4.3 compilers to build gdb. I tried to build gcc 6.3 and gdb-6.3.50.20050630. The results were always the same. The system is SunOS sunrise 5.9 Generic_117171-07 sun4u sparc SUNW,Sun-Fire-V240. Is there a way to get it running or do I have to learn dbx? :-) Best regards -- Micheal Ivanov