aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/disconnected-tracing.c
diff options
context:
space:
mode:
authorHui Zhu <teawater@gmail.com>2012-05-14 02:20:54 +0000
committerHui Zhu <teawater@gmail.com>2012-05-14 02:20:54 +0000
commitc772f8e7339f4e0c8b8a5ed10d71848002c2ac18 (patch)
tree246b208e78080f4f553c96d37db98fd3ab9cbb47 /gdb/testsuite/gdb.trace/disconnected-tracing.c
parentc52bd484bf805d72c42d7946c32307d064a938cf (diff)
downloadgdb-c772f8e7339f4e0c8b8a5ed10d71848002c2ac18.zip
gdb-c772f8e7339f4e0c8b8a5ed10d71848002c2ac18.tar.gz
gdb-c772f8e7339f4e0c8b8a5ed10d71848002c2ac18.tar.bz2
2012-05-11 Hui Zhu <hui_zhu@mentor.com>
* gdb.trace/Makefile.in (PROGS): Add disconnected-tracing. * gdb.trace/disconnected-tracing.c: New file. * gdb.trace/disconnected-tracing.exp: New file.
Diffstat (limited to 'gdb/testsuite/gdb.trace/disconnected-tracing.c')
-rw-r--r--gdb/testsuite/gdb.trace/disconnected-tracing.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.trace/disconnected-tracing.c b/gdb/testsuite/gdb.trace/disconnected-tracing.c
new file mode 100644
index 0000000..91d66ed
--- /dev/null
+++ b/gdb/testsuite/gdb.trace/disconnected-tracing.c
@@ -0,0 +1,21 @@
+/* This testcase is part of GDB, the GNU debugger.
+
+ Copyright 2012 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
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
+
+int main ()
+{
+ return 0;
+}