summaryrefslogtreecommitdiffstats
path: root/lldb/lit/Reproducer/TestDump.test
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2019-09-16 23:31:06 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2019-09-16 23:31:06 +0000
commit8fc8d3fe0108479ce22234ec829fc7ee2b8f0bd2 (patch)
treee29d9480eced3fc99767c24d30589d0400bd67da /lldb/lit/Reproducer/TestDump.test
parent3cabfb344b820586bb7c43212340f64246cde8eb (diff)
downloadbcm5719-llvm-8fc8d3fe0108479ce22234ec829fc7ee2b8f0bd2.tar.gz
bcm5719-llvm-8fc8d3fe0108479ce22234ec829fc7ee2b8f0bd2.zip
[Reproducer] Implement dumping packets.
This patch completes the dump functionality by adding support for dumping a reproducer's GDB remote packets. Differential revision: https://reviews.llvm.org/D67636 llvm-svn: 372046
Diffstat (limited to 'lldb/lit/Reproducer/TestDump.test')
-rw-r--r--lldb/lit/Reproducer/TestDump.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/lit/Reproducer/TestDump.test b/lldb/lit/Reproducer/TestDump.test
index 472c563d7f2..e378043f9c1 100644
--- a/lldb/lit/Reproducer/TestDump.test
+++ b/lldb/lit/Reproducer/TestDump.test
@@ -18,4 +18,8 @@
# COMMANDS: target create
# COMMANDS: command source
+# RUN: %lldb -b -o 'reproducer dump -p gdb -f %t.repro' | FileCheck %s --check-prefix GDB
+# GDB: send packet: $QStartNoAckMode#b0
+# GDB: read packet: $OK#9a
+
# RUN: %lldb --replay %t.repro | FileCheck %s --check-prefix FILES
OpenPOWER on IntegriCloud