From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pv50p00im-tydg10021701.me.com (pv50p00im-tydg10021701.me.com [17.58.6.54]) by sourceware.org (Postfix) with ESMTPS id 900BC3858C3B for ; Sun, 27 Jun 2021 20:32:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 900BC3858C3B Received: from smtpclient.apple (c-71-231-148-226.hsd1.wa.comcast.net [71.231.148.226]) by pv50p00im-tydg10021701.me.com (Postfix) with ESMTPSA id B0FB784028F; Sun, 27 Jun 2021 20:32:19 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) Subject: Re: GDB and MacOS 11.4/BigSur From: Sam Warner In-Reply-To: <5180de47-136f-bad7-9f83-78ac02a323c6@polymtl.ca> Date: Sun, 27 Jun 2021 13:32:18 -0700 Cc: gdb@sourceware.org Content-Transfer-Encoding: quoted-printable Message-Id: <460390D0-EBA2-4FDA-9C08-FB23FB59A59D@me.com> References: <9717BBC8-70FA-47DD-8C62-33018D746003@me.com> <5180de47-136f-bad7-9f83-78ac02a323c6@polymtl.ca> To: Simon Marchi 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-27_04:2021-06-25, 2021-06-27 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-2106270153 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, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, 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 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: Sun, 27 Jun 2021 20:32:23 -0000 Hi Simon, Yeh, I=E2=80=99ve queued to do the actions for the first paragraph = based on your input that few are working on resolving issues for = GDB/MacOS. When you mentioned " to get patches in a good state and send them to = the gdb-patches list for review.=E2=80=9D I thought, well, first order of business would = be this (as I saw an individual had an attempt in 10.1 to fix a = null-pointer). Should I first help here? Sam > On Jun 26, 2021, at 5:51 PM, Simon Marchi = wrote: >=20 >=20 >=20 > On 2021-06-26 7:27 p.m., Sam Warner wrote: >> Hi Simon, >> :), perfect, how can I help? >=20 > Specifically, with the bug you reported, you would need to figure out > why the global current_thread_ is nullptr at the point inferior_thread > is called. In fact, all this happens before you tried to run = anything, > so it's expected that there is no current thread: there are no threads > at all yet. >=20 > So, try to get a backtrace so we at least know which inferior_thread > call that is. You can try to attach a working GDB to the broken GDB > while it's at the "would you like to create a core dump" question. If > GDB is too broken, you can try lldb, whatever works. >=20 > Once we have that, we figure out a solution :). >=20 > Simon