diff --git a/Tools/ardupilotwaf/boards.py b/Tools/ardupilotwaf/boards.py index c8d1bbbc42..f3b35585af 100644 --- a/Tools/ardupilotwaf/boards.py +++ b/Tools/ardupilotwaf/boards.py @@ -286,7 +286,7 @@ class Board: if cfg.env.DEBUG: env.CFLAGS += [ - '-g', + '-g3', '-O0', ] env.DEFINES.update( @@ -294,7 +294,7 @@ class Board: ) elif cfg.options.debug_symbols: env.CFLAGS += [ - '-g', + '-g3', ] if cfg.env.COVERAGE: env.CFLAGS += [