[patch] update gdb.base/shlib-call.exp to use new shared library infrastructure
Daniel Jacobowitz
drow@false.org
Thu Apr 14 19:12:00 GMT 2005
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
More information about the Gdb-patches
mailing list