On 08/04/2014 15:59, Michael Van Canneyt wrote:


On Tue, 8 Apr 2014, Martin Frb wrote:

On 08/04/2014 15:25, Michael Van Canneyt wrote:

Hi,

I wanted to debug a project (testsuite project) in Lazarus, and got some errors at once when hitting run

I then went to debug on the console with GDB

Has anyone experienced this before:

(gdb) break FPC_RAISEEXCEPTION
/build/buildd/gdb-7.4-2012.04/gdb/buildsym.c:696: internal-error: failed internal consistency check
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

I get this error almost regardless of the GDB command I typed...

I suspect this is what confused the IDE debugger ?

This means that gdb stumbles on reading the dwarf or stabs info.

I'll do a objdump, it should give me some info, maybe I'm mixing stabs/dwarf or so.

The other option is to try a different GDB version.

Avoid 7.5.9 to all 7.6.1.
I havent done any tests with 7.7 yet.





--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to