-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Even the latest GDB release does not correctly support DWARF 5 from GCC, most notably preprocessor macros. This is a bug in either GCC or GDB and is present across every platform tested. DWARF 4 works fine, so stick to it for now.
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- a/gcc/common.opt | ||
+++ b/gcc/common.opt | ||
@@ -3290,3 +3290,3 @@ | ||
gdwarf- | ||
-Common Driver Joined UInteger Var(dwarf_version) Init(5) Negative(gstabs) | ||
+Common Driver Joined UInteger Var(dwarf_version) Init(4) Negative(gstabs) | ||
Generate debug information in DWARF v2 (or later) format. |