Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: gdb/testsuite/gdb.base/info-macros.exp

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/info-fun-solib.c ('k') | gdb/testsuite/gdb.base/info-os.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.base/info-macros.exp
diff --git a/gdb/testsuite/gdb.base/info-macros.exp b/gdb/testsuite/gdb.base/info-macros.exp
index d175e9fb460a60fce60b13aeb50ca61fe343005b..c87f1043ff9e1917a4a2357cff19d0da717126c7 100644
--- a/gdb/testsuite/gdb.base/info-macros.exp
+++ b/gdb/testsuite/gdb.base/info-macros.exp
@@ -16,14 +16,15 @@
set testfile "info-macros"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
-get_compiler_info ${binfile}
-if [test_compiler_info gcc*] {
- lappend options additional_flags=-g3
-} else {
+
+get_compiler_info
+if ![test_compiler_info gcc*] {
untested ${testfile}.exp
return -1
}
+set options "debug additional_flags=-g3"
+
if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} $options] } {
untested ${testfile}.exp
return -1
« no previous file with comments | « gdb/testsuite/gdb.base/info-fun-solib.c ('k') | gdb/testsuite/gdb.base/info-os.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698