Re: GDB and MacOS 11.4/BigSur
Sam Warner via Gdb <[email protected]>
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Simon,
Yeh, I’ve 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.” 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 <[email protected]> wrote:
>
>
>
> On 2021-06-26 7:27 p.m., Sam Warner wrote:
>> Hi Simon,
>> :), perfect, how can I help?
>
> 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.
>
> 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.
>
> Once we have that, we figure out a solution :).
>
> Simon