From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3190 invoked by alias); 3 Nov 2016 16:00:37 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 3095 invoked by uid 89); 3 Nov 2016 16:00:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*apple.com, refresh, Hx-languages-length:587, task X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 03 Nov 2016 16:00:26 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 336C481300; Thu, 3 Nov 2016 17:00:24 +0100 (CET) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zli6X1OZsGAg; Thu, 3 Nov 2016 17:00:24 +0100 (CET) Received: from dhcp-guest-231.act-europe.fr (dhcp-guest-231.act-europe.fr [10.10.127.231]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id CCD56812E0; Thu, 3 Nov 2016 17:00:23 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: gdb on macOS 10.12 "Sierra" From: Tristan Gingold In-Reply-To: <1116E788-F7A1-4BA4-AD07-CB5BBCCC5B7F@apple.com> Date: Thu, 03 Nov 2016 16:00:00 -0000 Cc: Jonas Maebe , gdb@sourceware.org, "Tedeschi, Walfred" Content-Transfer-Encoding: quoted-printable Message-Id: <68D67BDB-CDFB-4EE6-82BE-F76A2DA6E0A8@adacore.com> References: <20161001140850.Horde.5Pxfey2wqn5X76dSpncV3uA@mail.elis.ugent.be> <581730F0.6000106@watlock.be> <1116E788-F7A1-4BA4-AD07-CB5BBCCC5B7F@apple.com> To: Jason Molenda X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg00002.txt.bz2 > On 01 Nov 2016, at 00:23, Jason Molenda wrote: >=20 > Hi Jonas, there was a change in macOS 10.12.1 that may be impacting gdb. = After an exec, you need to refresh the task port that gdb uses in its mach= calls. You can see the lldb change here: >=20 > http://llvm.org/viewvc/llvm-project?view=3Drevision&revision=3D282632 >=20 > or >=20 > >=20 > I skimmed this email thread and someone said that disabling launch-with-s= hell worked around the issue. That would be in line with this OS change. Thank you Jason, that's very useful. Tristan.