My installation is standard with "secondary" option during installation. I use 32 and 64 bit installation together in other directory and other config directory.
OK. I went to test with the official release myself. Indeed the "GDB" included has a problem in case of that error.
"GDB" => is a standalone debugger. It is used by the Lazarus (and many other open source IDE) as helper to do debugging. But it comes with some flaws....
Anyway, there is a solution. And I tested it, but it takes a few extra steps. Sorry about that.
1) Menu: Tools > Options: Debugger > General.
There is a drop down, that currently shows "gdb debugger (gdb)" => change it to "FpDebug, internal dwarf debugger (beta)".
2) When running your app, you may be asked to choose a "debug info type". Choose "Dwarf with sets"
You can choose "Dwarf 3", which is better. But if you ever change back to "gdb" then you must go to project options, and change it to "dwarf with sets"
EDIT: I think FpDebug should be in the list by default. But I may have made changes to my release install of Lazarus.
If it is not there: menu > Packages > Install/Uninstall Packages > and install the package "LazDebuggerFp"