[Lazarus] GDB problem ?
Michael Van Canneyt
michael at freepascal.org
Tue Apr 28 16:56:50 CEST 2015
On Tue, 28 Apr 2015, Martin Frb wrote:
> On 28/04/2015 10:23, Michael Van Canneyt wrote:
>>
>> Hi,
>>
>> All of a sudden (no idea why), gdb stopped working on a particular program
>> I was working on. I found the following error in the debug output:
>>
>> (gdb) =thread-exited,id="1",group-id="i1"
>> =thread-group-exited,id="i1"
>> ^error,msg="During startup program exited with code 1."
>> (gdb)
>
> Dont know, never seen, but try the following:
>
> http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopped_working
> go to the debugger options and set the field "DisableLoadSymbolsForLibraries"
> to "True"
>
> And/Or change the the "InternalStartBreak" Try MainAddr, or Entry.
None of that was it.
The problem was in setting the command-line options.
one of the special characters ? @ % & = caused an error.
Quoting the command-line option containing them, helped.
Very strange indeed.
Michael.
More information about the Lazarus
mailing list