* boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
+2014-08-18 David Blaikie <dblaikie@gmail.com>
+
+ * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
+
2014-08-18 Joel Brobecker <brobecker@adacore.com>
* gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
# This requires a relatively recent version of gcc (>4.7) and gold
# for the linker.
-set_board_info debug_flags "-gdwarf-4 -gsplit-dwarf -fdebug-types-section -Wl,--gdb-index"
+# Note: -ggnu-pubnames is required for Gold to build .gdb_index, and while
+# -gsplit-dwarf implies -ggnu-pubnames for gcc, it doesn't for clang.
+set_board_info debug_flags "-gdwarf-4 -gsplit-dwarf -ggnu-pubnames -fdebug-types-section -Wl,--gdb-index"
# This is needed otherwise dejagnu tries to rsh to host "fission". Blech.
# Double blech: set_board_info only sets the value if not already set.