From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id muBJNYso22D2LAAAWB0awg (envelope-from ) for ; Tue, 29 Jun 2021 10:04:59 -0400 Received: by simark.ca (Postfix, from userid 112) id C82F31F1F2; Tue, 29 Jun 2021 10:04:59 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id EA93A1EE14 for ; Tue, 29 Jun 2021 10:04:58 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5B155383B40A for ; Tue, 29 Jun 2021 14:04:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5B155383B40A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1624975498; bh=qwMGgXLcyN0JfOadqi6r3vIJtECuesHVDkHGwto0m7c=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=d8UhnTJn4jX9uQ6AxQOigh6uH8Q8bEyqYHhLzxZau40rqgm7Sf9Qib4XAWM+H4p/r JIMmc47DgpDkJsuwiSNeNT+kRG2U0oustB3tAYjE24raWxW1ewb5BEbmpJh4eGDkQ8 IHVTwzOTvUi6EjsXhlvre6Oh3XjgfszvclqVnfiU= 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 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> 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-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: , From: Simon Marchi via Gdb Reply-To: Simon Marchi Cc: gdb@sourceware.org Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" 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