Fix test names starting with uppercase output by basic functions
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / dprintf-pending.exp
index 58c8551bceeda9fccaf5920a72650ac0452e4a5a..10df3fb8bdeb7946e9759614fe8c91f045531d14 100644 (file)
@@ -1,4 +1,4 @@
-#   Copyright 2013-2014 Free Software Foundation, Inc.
+#   Copyright 2013-2016 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
@@ -32,7 +32,7 @@ if { [get_compiler_info] } {
 
 if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != ""
      || [gdb_compile $srcdir/$subdir/$srcfile $binfile executable $exec_opts] != ""} {
-    untested "Could not compile either $libsrc or $srcdir/$subdir/$srcfile."
+    untested "could not compile either $libsrc or $srcdir/$subdir/$srcfile."
     return -1
 }
 
@@ -41,14 +41,8 @@ with_test_prefix "without format" {
     gdb_start
     gdb_reinitialize_dir $srcdir/$subdir
 
-    gdb_test \
-       "dprintf pendfunc" \
-       "Dprintf.*pendfunc.*pending." \
-       "set pending dprintf" \
-       ".*Make dprintf pending.*y or \\\[n\\\]. $" \
-       "y"
-
-    gdb_test "file ${binfile}" ".*Error in re-setting breakpoint.*" "resolved dprintf fails to be re-set"
+    gdb_test "dprintf pendfunc" "Format string required" "missing ,FMT"
+    gdb_test "dprintf pendfunc," "Format string required" "missing FMT"
 }
 
 with_test_prefix "without symbols" {
@@ -69,7 +63,7 @@ with_test_prefix "without symbols" {
        "single pending dprintf info"
 
     gdb_load ${binfile}
-    gdb_load_shlibs $lib_sl
+    gdb_load_shlib $lib_sl
 
     gdb_run_cmd
 
@@ -77,7 +71,7 @@ with_test_prefix "without symbols" {
 }
 
 clean_restart ${binfile}
-gdb_load_shlibs $lib_sl
+gdb_load_shlib $lib_sl
 
 #
 # Test setting, querying, and modifying pending breakpoints
This page took 0.0254 seconds and 4 git commands to generate.