https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108022
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Yes, -ggdb3 seems to me like a reasonable solution. Note you can always strip the debuginfo into a separate file.
marxin at gcc dot gnu.org via Gcc-bugs Fri, 09 Dec 2022 02:02:36 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108022
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- Yes, -ggdb3 seems to me like a reasonable solution. Note you can always strip the debuginfo into a separate file.