Re: GDB w/ Mac OS cores: "no core file handler recognizes format"

Tristan Gingold
2014-01-31T09:50:27Z

On 31 Jan 2014, at 03:09, Joel Brobecker <brobecker@adacore.com> wrote:

>> Unfortunately I can't get it to work at all; I always get this error:
>>
>> $ ./x86_64-darwin/bin/gdb -c core.54937 myprog
>> GNU gdb (GDB) 7.6.2
>> ...
>> Reading symbols from myprog...Reading symbols from
>> myprog.dSYM/Contents/Resources/DWARF/myprog...done.
>> done.
>> "core.54937": no core file handler recognizes format
>
> I don't think we support core files on this platform.

Indeed. We initially wanted to implement it, but we realized that there is no way
to link a register context in the dump core with a thread. So dump cores weren't
that useful in the context of Ada...

Now adding the support shouldn't be difficult.

Tristan.