[fpc-pascal] RTL debuginfo on GDB 7.4+ and OSX Mavericks

Joao Morais l at joaomorais.com.br
Mon Mar 17 18:33:43 CET 2014


Em 12/03/14 08:55, Martin Frb escreveu:
> On 12/03/2014 11:27, Joao Morais wrote:
>> If I compile RTL with "-gl -gw", GDB crashes with the following messages:
>>
>> While executing the command:
>> "TGDBMIDebuggerInstruction: "-break-insert +0", "
>> gdb reported:
>> "&"linespec.c:2445: internal-error: void decode_line_full(char **, 
>> int, struct symtab *, int, struct linespec_result *, const char *, 
>> const char *): Assertion `state->canonical_names[i].suffix != NULL' 
>> failed.\nA problem internal to GDB has been detected,\nfurther 
>> debugging may prove unreliable.""
>
> In Lazarus Options (Tools menu), you can change the 
> "InternalStartBreak" (try Entry or MainAddr) ... that does not fix the 
> original issue, and gdb may crash at any other point.

This trick worked like a charm for the time being. Thank you very much!





More information about the fpc-pascal mailing list