This revision was automatically updated to reflect the committed changes.
Closed by commit rG4a3a821c68a1: [lldb] Make socket_packet_pump.py work in
Python3 (authored by teemperor).
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84017/new/
https://reviews.llvm.org/D84017
Files:
lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py
Index:
lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py
+++ lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py
@@ -6,7 +6,6 @@
import select
import threading
import traceback
-import codecs
from six.moves import queue
from lldbsuite.support import seven
@@ -25,7 +24,7 @@
def _dump_queue(the_queue):
while not the_queue.empty():
- print(codecs.encode(the_queue.get(True), "string_escape"))
+ print(repr(the_queue.get(True)))
print("\n")
Index: lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py
+++ lldb/packages/Python/lldbsuite/test/tools/lldb-server/socket_packet_pump.py
@@ -6,7 +6,6 @@
import select
import threading
import traceback
-import codecs
from six.moves import queue
from lldbsuite.support import seven
@@ -25,7 +24,7 @@
def _dump_queue(the_queue):
while not the_queue.empty():
- print(codecs.encode(the_queue.get(True), "string_escape"))
+ print(repr(the_queue.get(True)))
print("\n")
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits