This is the mail archive of the gdb-patches@sources.redhat.com 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]

Re: [patch] update gdb.base/shlib-call.exp to use new shared library infrastructure


On Tue, Apr 12, 2005 at 12:33:12PM -0800, Paul Gilliam wrote:
> 2005-04-12  Paul Gilliam  <pgilliam@us.ibm.com>
> 
> 	* gdb.base/shlib-call.exp: Change to use new shared library infrastructure and update
> 	copyright date.

OK, and thanks.

> ! if { [gdb_compile_shlib ${lib1src} ${lib1} $lib_opts] != ""
> ! ||   [gdb_compile_shlib ${lib2src} ${lib2} $lib_opts] != ""
> ! ||   [gdb_compile ${srcfile} ${binfile} executable $exec_opts] != ""} {
> !     gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
>   }

Mind fixing the indentation?  Just like in C, the || should be
indented to go along with the braces.

if { [gdb_compile_shlib ${lib1src} ${lib1} $lib_opts] != ""
     || [gdb_compile_shlib ${lib2src} ${lib2} $lib_opts] != ""
     || [gdb_compile ${srcfile} ${binfile} executable $exec_opts] != ""} {

-- 
Daniel Jacobowitz
CodeSourcery, LLC


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