summaryrefslogtreecommitdiffstats
path: root/lldb/lit/Reproducer/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/lit/Reproducer/Inputs')
-rw-r--r--lldb/lit/Reproducer/Inputs/GDBRemoteCapture.in6
-rw-r--r--lldb/lit/Reproducer/Inputs/GDBRemoteReplay.in5
-rw-r--r--lldb/lit/Reproducer/Inputs/simple.c19
3 files changed, 30 insertions, 0 deletions
diff --git a/lldb/lit/Reproducer/Inputs/GDBRemoteCapture.in b/lldb/lit/Reproducer/Inputs/GDBRemoteCapture.in
new file mode 100644
index 00000000000..8df7ca42fee
--- /dev/null
+++ b/lldb/lit/Reproducer/Inputs/GDBRemoteCapture.in
@@ -0,0 +1,6 @@
+breakpoint set -f simple.c -l 13
+run
+bt
+cont
+reproducer status
+reproducer generate
diff --git a/lldb/lit/Reproducer/Inputs/GDBRemoteReplay.in b/lldb/lit/Reproducer/Inputs/GDBRemoteReplay.in
new file mode 100644
index 00000000000..1364c7e7276
--- /dev/null
+++ b/lldb/lit/Reproducer/Inputs/GDBRemoteReplay.in
@@ -0,0 +1,5 @@
+reproducer status
+breakpoint set -f simple.c -l 13
+run
+bt
+cont
diff --git a/lldb/lit/Reproducer/Inputs/simple.c b/lldb/lit/Reproducer/Inputs/simple.c
new file mode 100644
index 00000000000..a4585b380ca
--- /dev/null
+++ b/lldb/lit/Reproducer/Inputs/simple.c
@@ -0,0 +1,19 @@
+//===-- main.c --------------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include <stdio.h>
+
+void foo() {
+ printf("testing\n");
+}
+
+int main (int argc, char const *argv[]) {
+ foo();
+ return 0;
+}
OpenPOWER on IntegriCloud