2013-04-24 Muhammad Bilal <mbilal@codesourcery.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / fixsection.exp
index c83d7205d2efbd0b62288641af42c8485d0306f6..99871f9893ebdba2b8bede1c1428ef28d441434f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+# Copyright (C) 2008-2013 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-if $tracelevel then {
-    strace $tracelevel
-}
-
 
 if {[skip_shlib_tests]} {
     return 0
@@ -33,7 +29,7 @@ set lib_sl ${objdir}/${subdir}/${libfile}.sl
 set lib_opts [list debug nowarnings]
 set exec_opts [list debug nowarnings shlib=$lib_sl]
 
-if [get_compiler_info ${binfile}] {
+if [get_compiler_info] {
     return -1
 }
 
@@ -53,14 +49,14 @@ gdb_load_shlibs ${lib_sl}
 
 if ![runto_main] then {
     fail "Can't run to main"
-    return 1;
+    return 1
 }
 
 #
 # set breakpoint at static function static_fun
 #
 gdb_test "break static_fun" \
-    "Breakpoint.*at.* file .*${srcfile}, line.*" \
+    "Breakpoint.*at.* file .*${testfile}\\.c, line.*" \
     "breakpoint at static_fun"
 
 #
This page took 0.025003 seconds and 4 git commands to generate.