-
This commit changes the argument for debug information from `-ggdb3` to the more generic `-g`. As gcc and llvm clang recently changed their defaults to the standardized debug format DWARF-5, this should increase the debugging experience in general and especially when switching from `gdb` to `lldb` without any side effects. The defaults are available since gcc 11.1 and llvm clang 14. See also: - https://www.phoronix.com/news/GCC-11-DWARF-5-Possible-Default - https://www.linux-magazin.de/news/gcc-11-1-wechselt-debugging-format-auf-dwarf-5/ - https://www.phoronix.com/news/LLVM-Clang-DWARFv5-Default - https://dwarfstd.org Signed-off-by:
Rene Paris <rene.paris@in-tech.com>This commit changes the argument for debug information from `-ggdb3` to the more generic `-g`. As gcc and llvm clang recently changed their defaults to the standardized debug format DWARF-5, this should increase the debugging experience in general and especially when switching from `gdb` to `lldb` without any side effects. The defaults are available since gcc 11.1 and llvm clang 14. See also: - https://www.phoronix.com/news/GCC-11-DWARF-5-Possible-Default - https://www.linux-magazin.de/news/gcc-11-1-wechselt-debugging-format-auf-dwarf-5/ - https://www.phoronix.com/news/LLVM-Clang-DWARFv5-Default - https://dwarfstd.org Signed-off-by:
Rene Paris <rene.paris@in-tech.com>
Loading