Include debugging info in all compilation modes
Change-Id: Ibaba373b968f85c625d2ee6970d354ff090da5c0
diff --git a/aos/downloader/downloader.bzl b/aos/downloader/downloader.bzl
index dff198a..51d6916 100644
--- a/aos/downloader/downloader.bzl
+++ b/aos/downloader/downloader.bzl
@@ -30,8 +30,11 @@
Running this with `bazel run` will actually download everything.
+This also generates a start_list.txt file with the names of binaries to start.
+
Attrs:
srcs: The files to download. They currently all get shoved into one folder.
+ start_srcs: Like srcs, except they also get put into start_list.txt.
default_target: The default host to download to. If not specified, defaults to
roboRIO-971.local.
'''
diff --git a/tools/cpp/CROSSTOOL b/tools/cpp/CROSSTOOL
index d159e5d..d76637c 100644
--- a/tools/cpp/CROSSTOOL
+++ b/tools/cpp/CROSSTOOL
@@ -255,11 +255,9 @@
linker_flag: "-Wl,--warn-execstack"
linker_flag: "-Wl,--detect-odr-violations"
- compilation_mode_flags {
- mode: DBG
- # Enable debug symbols.
- compiler_flag: "-ggdb3"
- }
+ # Enable debug symbols.
+ compiler_flag: "-ggdb3"
+
compilation_mode_flags {
mode: OPT
@@ -508,11 +506,9 @@
#linker_flag: "-Wl,--warn-execstack"
#linker_flag: "-Wl,--detect-odr-violations"
- compilation_mode_flags {
- mode: DBG
- # Enable debug symbols.
- compiler_flag: "-ggdb3"
- }
+ # Enable debug symbols.
+ compiler_flag: "-ggdb3"
+
compilation_mode_flags {
mode: OPT