[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


Hi,

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
output:

====================================================
...snip...
(gdb)
<set inferior-tty /dev/pts/1>
&"set inferior-tty /dev/pts/1\n"
=cmd-param-changed,param="inferior-tty",value="/dev/pts/1"
^done
(gdb)
<-gdb-set language pascal>
^done
(gdb)
<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?


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/




More information about the Lazarus mailing list