debuginfo: Trunk compiler broke Lazarus/GDB debugging
FPC trunk 8b3c9e0970507bf7cddfe8946032bf9a20ba93aa
generates debug information unusable by GDB
The GDB command:
"-break-insert "\"/projects/lazarus/lcl/interfaces/gtk3/gtk3widgets.pas\":4910""
did not return any result.
IDE debug console shows
```
(gdb)
<info line "/projects/lazarus/lcl/interfaces/gtk3/gtk3widgets.pas":4910>
&"info line \"/projects/lazarus/lcl/interfaces/gtk3/gtk3widgets.pas\":4910\n"
&"Dwarf Error: Cannot find DIE at 0x2a17d1 referenced from DIE at 0x48de4e [in module /projects/laztest/gtk3_menu_test/project1]\n"
^error,msg="Dwarf Error: Cannot find DIE at 0x2a17d1 referenced from DIE at 0x48de4e [in module /projects/laztest/gtk3_menu_test/project1]"
(gdb)
<-break-insert "\"/projects/lazarus/lcl/interfaces/gtk3/gtk3widgets.pas\":4910">
```
hard-resetting the tree to efbf5eaa01649749fc7f8adee03b63db407ec2a3
brings proper debugger behavior
Test project
[gtk3_menu_test.zip](/uploads/52cedef9582b22390a4cd9f25402f58b/gtk3_menu_test.zip)
issue