lib/gdb.exp (gdb_load): Always return a result.
authorDoug Evans <xdje42@gmail.com>
Wed, 11 Feb 2015 06:07:06 +0000 (22:07 -0800)
committerDoug Evans <xdje42@gmail.com>
Wed, 11 Feb 2015 06:07:06 +0000 (22:07 -0800)
gdb/testsuite/ChangeLog:

* lib/gdb.exp (gdb_load): Always return a result.

gdb/testsuite/ChangeLog
gdb/testsuite/lib/gdb.exp

index bc4c0220457886f8497a4e57a9397cda30f8734e..a8ddf046e0c623984839fa20f34c6f221ac74eeb 100644 (file)
@@ -1,3 +1,7 @@
+2015-02-10  Doug Evans  <xdje42@gmail.com>
+
+       * lib/gdb.exp (gdb_load): Always return a result.
+
 2015-02-10  Pedro Alves  <palves@redhat.com>
 
        * gdb.threads/signal-sigtrap.c: New file.
index a6f200fa2158577035013700be11a1b3b8742555..bbc657c8858671cab2c82e2218c8d2342ff311f3 100644 (file)
@@ -3701,12 +3701,14 @@ proc gdb_load_shlibs { args } {
 #
 # gdb_load -- load a file into the debugger.  Specifying no file
 # defaults to the executable currently being debugged.
+# The return value is 0 for success, -1 for failure.
 # Many files in config/*.exp override this procedure.
 #
 proc gdb_load { arg } {
     if { $arg != "" } {
        return [gdb_file_cmd $arg]
     }
+    return 0
 }
 
 # gdb_reload -- load a file into the target.  Called before "running",
This page took 0.045567 seconds and 4 git commands to generate.