[fpc-pascal] How to analyze a core dump?
Luca Olivetti
luca at ventoso.org
Mon Jun 11 09:00:53 CEST 2007
En/na ik ha escrit:
> Hi,
>
> On 6/10/07, Luca Olivetti <luca at ventoso.org> wrote:
>> Hello,
>>
>> I'm trying to debug a segment violation, I compiled the program with -g,
>> but analyzing the core dump isn't really helpful, maybe the "warning
>> can't read pathname for load map" is the cause? Or it's possible that
>> it's caused by some of the c libraries used having no debug symbols? Any
>> hint?
>> Here's my gdb session:
>>
>>
>> $ gdb ./botphone core.28682
>
> Try the following:
>
> gdb -c botphone core.28682
Yes, that was the first incantation I tried, but it couldn't even
resolve the name of the function where the sigsev happened
(SYSTEM_GETERRNO$$LONGINT)
Bye
--
Luca
More information about the fpc-pascal
mailing list