From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pv50p00im-tydg10011801.me.com (pv50p00im-tydg10011801.me.com [17.58.6.52]) by sourceware.org (Postfix) with ESMTPS id CD09B38515EA for ; Tue, 29 Jun 2021 14:38:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CD09B38515EA Received: from smtpclient.apple (c-71-231-148-226.hsd1.wa.comcast.net [71.231.148.226]) by pv50p00im-tydg10011801.me.com (Postfix) with ESMTPSA id 7CC8C66048F; Tue, 29 Jun 2021 14:38:39 +0000 (UTC) From: Sam Warner Message-Id: <84DA278D-49EE-4624-B292-F1EFF2B66A43@me.com> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: GDB and MacOS 11.4/BigSur Date: Tue, 29 Jun 2021 07:38:38 -0700 In-Reply-To: <87919838-2470-33d6-f9f6-2dde5b271fcc@polymtl.ca> Cc: gdb@sourceware.org To: Simon Marchi 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> <87919838-2470-33d6-f9f6-2dde5b271fcc@polymtl.ca> X-Mailer: Apple Mail (2.3654.100.0.2.22) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-06-29_07:2021-06-28, 2021-06-29 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2106290097 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:38:42 -0000 Is there a before review checklist? Seems it would have: 1) use change in the latest source tree, presumably on all supported = OSes, and log build 2) use test-suite before, and on all supported OSes, log results 3) fix test on all supported on all supported OSe Which, for me, the all supported OSes is the big hurdle (in time and = logistics). How=E2=80=99s this solved? For now, I repro=E2=80=99ed the null-pointer issue is in the build I = generated, which is good news, I=E2=80=99ll grab that source fix you = supplied and see if it resolves the issue. Sam > On Jun 29, 2021, at 7:04 AM, Simon Marchi = wrote: >=20 > 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=E2=80=9D. >=20 > 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. >=20 > That wiki page is really old, it could really use a refresh. >=20 >> I successfully built now, and off to use the test-suites >=20 > Glad to hear it. >=20 > You can do some manual some tests first, trying to debug a little > program. If that works, to run the testsuite: >=20 > https://sourceware.org/gdb/wiki/TestingGDB >=20 > 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: >=20 > $ make check TESTS=3D"gdb.base/template.exp" >=20 > Simon