[Lazarus] Failing to run GDB via IDE on OpenSUSE 13.2 system

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Feb 9 18:28:59 CET 2015


Last week I setup a new VM with OpenSUSE 13.2 64-bit. I also installed
GDB (v7.8) from the standard package repository.

I manually installed FPC 2.6.4 (tar.gz release archive) and Lazarus
trunk. I can compile and run programs without problem. I also configured
GDB in the IDE and made sure my program compiles with debug info
enabled. But trying to debug an application via Lazarus IDE gives me an
instant "Internal Error" and GDB stops. Below is the IDE debugger window

<set inferior-tty /dev/pts/1>
&"set inferior-tty /dev/pts/1\n"
<-gdb-set language pascal>
<ptype TObject>
&"ptype TObject\n"
&"../../gdb/minsyms.c:410: internal-error: Section index is
uninitialized\nA problem internal to GDB has been detected,\nfurther
debugging may prove unreliable."

I have however installed DDD, and can debug that exact same executable
without problems in DDD. So any ideas why Lazarus IDE can't debug?

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the Lazarus mailing list