This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]