From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.polymtl.ca (smtp.polymtl.ca [132.207.4.11]) by sourceware.org (Postfix) with ESMTPS id 88CAE385AC2C for ; Tue, 29 Jun 2021 14:04:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 88CAE385AC2C Received: from simark.ca (simark.ca [158.69.221.121]) (authenticated bits=0) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 15TE4QfN003145 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 29 Jun 2021 10:04:30 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 15TE4QfN003145 Received: from [10.0.0.11] (192-222-157-6.qc.cable.ebox.net [192.222.157.6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id F30D91EE14; Tue, 29 Jun 2021 10:04:25 -0400 (EDT) Subject: Re: GDB and MacOS 11.4/BigSur To: Sam Warner Cc: gdb@sourceware.org References: <9717BBC8-70FA-47DD-8C62-33018D746003@me.com> <5180de47-136f-bad7-9f83-78ac02a323c6@polymtl.ca> <460390D0-EBA2-4FDA-9C08-FB23FB59A59D@me.com> <56e03cb6-efd1-4ac0-a355-30fb77684641@polymtl.ca> <810B4416-EE0C-47C1-BF82-05A179498811@me.com> <0D2FBAAA-3CF1-49E2-83AA-232A3661188E@me.com> From: Simon Marchi Message-ID: <87919838-2470-33d6-f9f6-2dde5b271fcc@polymtl.ca> Date: Tue, 29 Jun 2021 10:04:25 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Poly-FromMTA: (simark.ca [158.69.221.121]) at Tue, 29 Jun 2021 14:04:26 +0000 X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Jun 2021 14:04:35 -0000 On 2021-06-28 9:44 p.m., Sam Warner wrote: > Hi Simon, > Thank you - the added details you gave me really helped, especially when I both obtained the official 10.2 source set, and followed the BuildingForDarwin instructions for ".configure --disable-intl”. If you intend to make changes that you want integrated upstream, you should really work using the latest git (and keep it up to date), not 10.2. That wiki page is really old, it could really use a refresh. > I successfully built now, and off to use the test-suites Glad to hear it. You can do some manual some tests first, trying to debug a little program. If that works, to run the testsuite: https://sourceware.org/gdb/wiki/TestingGDB However, I expect it to be in a really bad shape on macOS (if you can get it to run at all) and would need quite a lot of effort to run relatively clean. But all efforts start with a baby step, so if you can get at least a small test to run it would be great already. For example, getting the gdb.base/template.exp test to run (it's kind of a "Hello World!" test, serving as an example when writing a test from scratch. So you would use: $ make check TESTS="gdb.base/template.exp" Simon