Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: gdb/testsuite/gdb.base/source-nofile.gdb

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gdb/testsuite/gdb.base/source-error.gdb ('k') | gdb/testsuite/gdb.base/source-test.gdb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gdb/testsuite/gdb.base/source-nofile.gdb
diff --git a/gdb/testsuite/gdb.base/source-error.gdb b/gdb/testsuite/gdb.base/source-nofile.gdb
similarity index 75%
copy from gdb/testsuite/gdb.base/source-error.gdb
copy to gdb/testsuite/gdb.base/source-nofile.gdb
index c53b7277238cea0b8fd34bab5cd98548178482c3..e577a41cfdf06095a411ad91b3ee4a539d79bf2c 100644
--- a/gdb/testsuite/gdb.base/source-error.gdb
+++ b/gdb/testsuite/gdb.base/source-nofile.gdb
@@ -1,7 +1,7 @@
# This testcase is part of GDB, the GNU debugger.
-
-# Copyright 2005, 2007-2012 Free Software Foundation, Inc.
-
+#
+# Copyright 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
# the Free Software Foundation; either version 3 of the License, or
@@ -15,8 +15,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Test GDB's "source" command - reads in a GDB script.
+source for-sure-nonexistant-file
-echo working line\n
-x 0
-echo should not reach this line\n
+# Just print an message to confirm that failing to source the file
+# did not cause this script to abort.
+echo source error not fatal\n
« no previous file with comments | « gdb/testsuite/gdb.base/source-error.gdb ('k') | gdb/testsuite/gdb.base/source-test.gdb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698