Skip to content

Commit 5453f9b

Browse files
author
Marcus Chang
authored
Merge pull request ARMmbed#6 from ARMmbed/add_debug_info
Add "-g" to 'release' and 'develop' profiles
2 parents 8fbf90c + 4590012 commit 5453f9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

profiles/develop.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"-fmessage-length=0", "-fno-exceptions", "-fno-builtin",
66
"-ffunction-sections", "-fdata-sections", "-funsigned-char",
77
"-MMD", "-fno-delete-null-pointer-checks",
8-
"-fomit-frame-pointer", "-Os"],
8+
"-fomit-frame-pointer", "-Os", "-g"],
99
"asm": ["-x", "assembler-with-cpp"],
1010
"c": ["-std=gnu99"],
1111
"cxx": ["-std=gnu++98", "-fno-rtti", "-Wvla"],

profiles/release.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"-fmessage-length=0", "-fno-exceptions", "-fno-builtin",
66
"-ffunction-sections", "-fdata-sections", "-funsigned-char",
77
"-MMD", "-fno-delete-null-pointer-checks",
8-
"-fomit-frame-pointer", "-Os", "-DNDEBUG"],
8+
"-fomit-frame-pointer", "-Os", "-DNDEBUG", "-g"],
99
"asm": ["-x", "assembler-with-cpp"],
1010
"c": ["-std=gnu99"],
1111
"cxx": ["-std=gnu++98", "-fno-rtti", "-Wvla"],

0 commit comments

Comments
 (0)