gdb/
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / break.exp
index 7067dc3323612abdd1f81626325f3fb9ce57adec..20acd7eb986208399dcf8f8035f10bc4e22bdbe9 100644 (file)
@@ -880,6 +880,13 @@ gdb_expect {
         # marker4() is defined at line 46 when compiled with -DPROTOTYPES
        pass "run until breakpoint set at small function, optimized file (line bp_location14)"
     }
+    -re "Breakpoint $decimal, factorial \\(.*\\) .*\{\r\n$gdb_prompt" {
+       # GCC 4.3 emits bad line number information - see gcc/36748.
+       if { [test_compiler_info "gcc-4-3-*"] } {
+           setup_xfail *-*-*
+       }
+       fail "run until breakpoint set at small function, optimized file"
+    }
     -re ".*$gdb_prompt " {
        fail "run until breakpoint set at small function, optimized file"
     }
This page took 0.02537 seconds and 4 git commands to generate.