From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta36.uswest2.a.cloudfilter.net (omta36.uswest2.a.cloudfilter.net [35.89.44.35]) by sourceware.org (Postfix) with ESMTPS id F094F385843E for ; Thu, 21 Mar 2024 16:29:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F094F385843E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F094F385843E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=35.89.44.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711038552; cv=none; b=CM5eAwXNVrtCG/ki1irnDzvqAy4ter/1UvBal5d40YO5INSyGbvtnp1SjwlKNRrWajar/eKevPL3Z+n69NritQzizwfK1uf8Mj2snRAsMWIcoUojFdKtLGwRN0KhrEyhAAJ5wbrodArXtix16NLNCPwrNUf6fjiPqSj86wyKTEw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711038552; c=relaxed/simple; bh=tvXAcxp56E+RptV8GXCbmCRr8I04HWEUeq2rWYtNUTk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=f8udh71lKjJWnZIj6nCh+K12bjCl22FitsM7i5b+7CNcKSG4d+NEq4Qx3MZGpEnU3s6PnuYyiZv7nvhNqBv1eIGacMREKVVBOWnU5zvqoa28RNfBa7DbgKQHsN+jjTZqvtvkGZvoF+UHDBxemBeihcw8rOJVr1V4bxqXGdLMnRY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-5008a.ext.cloudfilter.net ([10.0.29.246]) by cmsmtp with ESMTPS id nL8zrlaxytf2QnLHwr3FjW; Thu, 21 Mar 2024 16:29:09 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id nLHvrgIlGiDnenLHvry8L7; Thu, 21 Mar 2024 16:29:08 +0000 X-Authority-Analysis: v=2.4 cv=Cd4O5qrl c=1 sm=1 tr=0 ts=65fc6054 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=IkcTkHD0fZMA:10 a=K6JAEmCyrfEA:10 a=Qbun_eYptAEA:10 a=VriW5-JwAAAA:8 a=Sith_dU6z7XnQzZtRNMA:9 a=QEXdDO2ut3YA:10 a=68Esd0wb-cFRgTrVw_Er:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=POlTYvGcFvoBrbs8VnDewDEejrKm5Qn1FF5s0MEMkps=; b=Fq5AMTwgN7kSqotRqFvBmcl8SA D/SiKCFWZa83Z92eOwbb9Fm+S9wPJWsJO5c5of1N4QgWmBELMSNHJcXZvlGhHh89kJ+HPJG1EtYWY jfOn5+uScylLeyj+kOPJP+aKi; Received: from 97-122-82-115.hlrn.qwest.net ([97.122.82.115]:50760 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rnLHv-004IIO-0b; Thu, 21 Mar 2024 10:29:07 -0600 From: Tom Tromey To: john o goyo Cc: gdb@sourceware.org Subject: Re: Unable to trace assembler in GDB 14.2 on Solaris 11.3/sparc References: X-Attribution: Tom Date: Thu, 21 Mar 2024 10:29:06 -0600 In-Reply-To: (john o. goyo's message of "Sat, 16 Mar 2024 10:50:29 -0400") Message-ID: <87o7b7eegd.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.82.115 X-Source-L: No X-Exim-ID: 1rnLHv-004IIO-0b X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-82-115.hlrn.qwest.net (murgatroyd) [97.122.82.115]:50760 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfDx0ZfFXcOf5ftqYI1LTu1ZO9johDq7wfWptj5thNu6T+NJYTre6D6kGllDonGS5ybdtMUZ4to3cX9gDWNcofXM+XE7n0VngLNipr2Vd8fS88qjY0wD2 JamOhEtIr2MzcIkNYZbowQ3wXKehYz+KxA6gBc5yJOe5q1vS/V7a7D/it4HpL8Z720o4lOSE0xJJUw== X-Spam-Status: No, score=-3013.9 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> john o goyo writes: I didn't want to let this go unanswered, but I was hoping someone more familiar with Solaris would reply. > I am learning Sparc assembler (mostly through Paul's book and various > tutorials).=C2=A0 I built GDB 14.2 on Solaris 11.3/sparc and can debug C > code with no problem. > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .section ".data" > hello:=C2=A0 .asciz "Hello, World!\n" > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .global main > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .align 4 > main: Does main end up in .data here? If so that could be the issue. Normally this kind of thing should work ok, as far as I know. Maybe dumping the minimal symbols ("maint print msymbols") would be informative. Tom