Ok, yes the image: That is normal. And you can select any of the 3 options (other than cancel)
"dwarf 2" => is rather limited, and has NO advantages. It is a subset of "dwarf with sets"
"dwarf with sets" => works well / identifiers are all uppercased.
"dwarf 3" => works well, but if you switch back to gdb, you should go to project options and switch to "dwarf with sets"
"dwarf 3" => has an issue with "variant" variables. If you need those "dwarf with sets"
to work I have to downgrade the default from -o2 to -o1
-O2 is not suitable for debugging. It may sometimes work. But that is just luck. Also, it may lead to WRONG values shown.
This is not an issue of the debugger. FPC does not provide info to the debugger about the optimizations, and values that for example went into registers can not be accessed (due to the missing info).
Even "-O1" can in rare cases, lead to incorrect values shown in the debugger. (Usually the value is update when stepping a 2nd time after it was assigned)