This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

FYI: make strace.exp compilation quieter


I'm checking this in.

Right now when I run the test suite, I see this in gdb.sum:

Running ../../../src/gdb/testsuite/gdb.trace/strace.exp ...
gdb compile failed, ../../../src/gdb/testsuite/gdb.trace/strace.c:18:24: fatal e
rror: ust/marker.h: No such file or directory
compilation terminated.
UNTESTED: gdb.trace/strace.exp: UST library or headers are not installed

I think the compiler message doesn't really belong here.

This patch fixes the problem by passing the "quiet" option to gdb_compile.

Tom

2012-05-09  Tom Tromey  <tromey@redhat.com>

	* gdb.trace/strace.exp: Add 'quiet' to compiler flags.

Index: gdb.trace/strace.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.trace/strace.exp,v
retrieving revision 1.9
diff -u -r1.9 strace.exp
--- gdb.trace/strace.exp	16 Apr 2012 11:29:08 -0000	1.9
+++ gdb.trace/strace.exp	9 May 2012 20:20:24 -0000
@@ -31,7 +31,7 @@
     return -1
 }
 
-set additional_flags [list debug shlib=$libipa shlib_load "additional_flags=-lust -lurcu-bp" ]
+set additional_flags [list quiet debug shlib=$libipa shlib_load "additional_flags=-lust -lurcu-bp" ]
 
 if { [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $additional_flags] != ""} {
     untested "UST library or headers are not installed"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]