From: David Blaikie Date: Mon, 18 Aug 2014 19:07:49 +0000 (-0700) Subject: boards/fission.exp: Explicitly pass -ggnu-pubnames for clang. X-Git-Tag: hjl/linux/release/2.24.51.0.4~1^2~4^2~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1cbf50779e15893c7801a0332d9e67908a6a7556;p=thirdparty%2Fbinutils-gdb.git boards/fission.exp: Explicitly pass -ggnu-pubnames for clang. * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b9197adea9b..29defabf960 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-08-18 David Blaikie + + * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang. + 2014-08-18 Joel Brobecker * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound diff --git a/gdb/testsuite/boards/fission.exp b/gdb/testsuite/boards/fission.exp index 094750201c5..9c111ba862a 100644 --- a/gdb/testsuite/boards/fission.exp +++ b/gdb/testsuite/boards/fission.exp @@ -27,7 +27,9 @@ set_board_info compiler "[find_gcc]" # 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.