This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch] update gdb.base/shlib-call.exp to use new shared library infrastructure
- From: Daniel Jacobowitz <drow at false dot org>
- To: Paul Gilliam <pgilliam at us dot ibm dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 14 Apr 2005 15:12:42 -0400
- Subject: Re: [patch] update gdb.base/shlib-call.exp to use new shared library infrastructure
- References: <200504121333.12270.pgilliam@us.ibm.com>
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