[Lldb-commits] [PATCH] D62931: [lldb-server] Add setting to force 'g' packet use

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 11 08:00:22 PST 2019


Thanks! 

lldb is trying to resume execution for some reason. I wonder if the T11 as the stop reason is causing problems, I just did it at random. I'll try changing the test to use a T02 stop reason. Baffled as to the difference in behavior, but we'll see if this matters.
<signaturebeforequotedtext></signaturebeforequotedtext>
On 11/10/19 10:32 PM, Jan Kratochvil  <jan.kratochvil at redhat.com> wrote: 
> 
> Hi Jason,
> 
> On Mon, 11 Nov 2019 02:04:55 +0100, Jason Molenda wrote:
> > ./lldb-dotest -t -v -p TestNoGPacketSupported.py
> 
> Linux Fedora 30 x86_64
> 6ef63638cb8bac243e0e59cec66a19c57b79e351
> 
> 
> Thanks,
> Jan
> 
> /usr/bin/python /home/jkratoch/redhat/llvm-monorepo/lldb/test/API/dotest.py --arch=x86_64 -s /home/jkratoch/redhat/llvm-monorepo-clangassert/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/lldb --compiler /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/clang --dsymutil /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/dsymutil --filecheck /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/FileCheck --env ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy --build-dir /home/jkratoch/redhat/llvm-monorepo-clangassert/tools/lldb/lldb-test-build.noindex -t -v -p TestNoGPacketSupported.py/home/jkratoch/redhat/llvm-monorepo/lldb/test/API/dotest.py --arch=x86_64 -s /home/jkratoch/redhat/llvm-monorepo-clangassert/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/lldb --compiler /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/clang --dsymutil /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/dsymutil --filecheck /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/FileCheck --env ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy --build-dir /home/jkratoch/redhat/llvm-monorepo-clangassert/tools/lldb/lldb-test-build.noindex -t -v -p TestNoGPacketSupported.pyLLDB library dir: /home/jkratoch/redhat/llvm-monorepo-clangassert/binLLDB import library dir: /home/jkratoch/redhat/llvm-monorepo-clangassert/binlldb version 10.0.0 (https://github.com/llvm/llvm-project.git revision 42e88995e62525a69b0d4b1780ae19649a5ff3b4) clang revision 6ef63638cb8bac243e0e59cec66a19c57b79e351 llvm revision 6ef63638cb8bac243e0e59cec66a19c57b79e351Libc++ tests will not be run because: Unable to find libc++ installationSkipping following debug info categories: ['dsym', 'gmodules']Session logs for test failures/errors/unexpected successes will go into directory '/home/jkratoch/redhat/llvm-monorepo-clangassert/lldb-test-traces'Command invoked: /home/jkratoch/redhat/llvm-monorepo/lldb/test/API/dotest.py --arch=x86_64 -s /home/jkratoch/redhat/llvm-monorepo-clangassert/lldb-test-traces -S nm -u CXXFLAGS -u CFLAGS --executable /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/lldb --compiler /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/clang --dsymutil /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/dsymutil --filecheck /home/jkratoch/redhat/llvm-monorepo-clangassert/./bin/FileCheck --env ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy --build-dir /home/jkratoch/redhat/llvm-monorepo-clangassert/tools/lldb/lldb-test-build.noindex -t -v -p TestNoGPacketSupported.pycompiler=/home/jkratoch/redhat/llvm-monorepo-clangassert/bin/clang-10Configuration: arch=x86_64 compiler=/home/jkratoch/redhat/llvm-monorepo-clangassert/bin/clang-10----------------------------------------------------------------------Collected 1 testChange dir to: /home/jkratoch/redhat/llvm-monorepo/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client1: test (TestNoGPacketSupported.TestNoGPacketSupported) ... runCmd: settings set symbols.enable-external-lookup falseoutput: runCmd: settings set plugin.process.gdb-remote.packet-timeout 60output: runCmd: settings set symbols.clang-modules-cache-path "/home/jkratoch/redhat/llvm-monorepo-clangassert/tools/lldb/lldb-test-build.noindex/module-cache-lldb"output: runCmd: settings set use-color falseoutput: runCmd: settings set target.env-vars LD_LIBRARY_PATH=output: runCmd: log enable gdb-remote packetsoutput: runCmd: log enable gdb-remote packetsoutput: Adding tearDown hook: lambda: self.runCmd("log disable gdb-remote packets"))python < 1 target="1"> send packet: +python history[1] tid=0x1d5a < 1 target="1"> send packet: +python < 19 target="1"> send packet: $QStartNoAckMode#b0python < 1 target="1"> read packet: +python < 6 target="1"> read packet: $OK#9apython < 1 target="1"> send packet: +python < 45 target="1"> send packet: $qSupported:xmlRegisters=i386,arm,mips,arc#74python < 57 target="1"> read packet: $qXfer:features:read+;PacketSize=3fff;QStartNoAckMode+#86python < 26 target="1"> send packet: $QThreadSuffixSupported#e4python < 4 target="1"> read packet: $#00python < 27 target="1"> send packet: $QListThreadsInStopReply#21python < 4 target="1"> read packet: $#00python < 13 target="1"> send packet: $qHostInfo#9bpython < 28 target="1"> read packet: $ptrsize:8;endian:little;#30python < 10 target="1"> send packet: $vCont?#49python < 4 target="1"> read packet: $#00python < 27 target="1"> send packet: $qVAttachOrWaitSupported#38python < 4 target="1"> read packet: $#00python < 23 target="1"> send packet: $QEnableErrorStrings#8cpython < 6 target="1"> read packet: $OK#9apython < 16 target="1"> send packet: $qProcessInfo#dcpython < 4 target="1"> read packet: $#00python < 6 target="1"> send packet: $qC#b4python < 7 target="1"> read packet: $QC0#c4python < 16 target="1"> send packet: $qfThreadInfo#bbpython < 5 target="1"> read packet: $l#6cpython < 5 target="1"> send packet: $?#3fpython < 122 target="1"> read packet: $T11thread:1ff0d;threads:1ff0d;thread-pcs:000000010001bc00;00:7882773ce0ffffff;01:1122334455667788;03:00bc010001000000;#f4python < 16 target="1"> send packet: $qProcessInfo#dcpython < 4 target="1"> read packet: $#00python < 16 target="1"> send packet: $qProcessInfo#dcpython < 4 target="1"> read packet: $#00python < 41 target="1"> send packet: $qXfer:features:read:target.xml:0,3ffe#afpython < 710 target="1"> read packet: $l  i386:x86-64       #4apython < 11 target="1"> send packet: $Hg1ff0d#40python < 6 target="1"> read packet: $OK#9apython < 6 target="1"> send packet: $p0#a0python < 20 target="1"> read packet: $5555555555555555#50python < 16 target="1"> send packet: $qProcessInfo#dcpython < 4 target="1"> read packet: $#00python < 26 target="1"> send packet: $qStructuredDataPlugins#02python < 4 target="1"> read packet: $#00python < 11 target="1"> send packet: $Hc1ff0d#3cpython < 6 target="1"> read packet: $OK#9ab-remote.async> < 7 target="1"> send packet: $C11#a5b-remote.async> < 4 target="1"> read packet: $#00Register values: rax == 0x0, rbx == 0x0, rsi == 0x0, pc == 0xffffffffffffffff, rip == 0x0FAILUREFAIL: LLDB (/home/jkratoch/redhat/llvm-monorepo-clangassert/bin/clang-10-x86_64) :: test (TestNoGPacketSupported.TestNoGPacketSupported) >>: successExecuting tearDown hook: lambda: self.runCmd("log disable gdb-remote packets"))runCmd: log disable gdb-remote packetsoutput: Restore dir to: /home/jkratoch/redhat/llvm-monorepo-clangassert======================================================================FAIL: test (TestNoGPacketSupported.TestNoGPacketSupported)----------------------------------------------------------------------Traceback (most recent call last): File "/home/jkratoch/redhat/llvm-monorepo/lldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestNoGPacketSupported.py", line 93, in test self.assertEqual(rax, 0xffffffe03c778278)AssertionError: 0 != 18446743937285063288LConfig=x86_64-/home/jkratoch/redhat/llvm-monorepo-clangassert/bin/clang-10----------------------------------------------------------------------Ran 1 test in 0.022sRESULT: FAILED (0 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures, 0 unexpected successes)Session logs for test failures/errors/unexpected successes can be found in directory '/home/jkratoch/redhat/llvm-monorepo-clangassert/lldb-test-traces'
> 
> 
<signatureafterquotedtext></signatureafterquotedtext>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191111/03a60429/attachment-0001.html>


More information about the lldb-commits mailing list