Fix debugserver's qProcessInfo reporting of maccatalyst binaries
authorAdrian Prantl <aprantl@apple.com>
Sat, 25 Jul 2020 01:36:18 +0000 (18:36 -0700)
committerAdrian Prantl <aprantl@apple.com>
Tue, 4 Aug 2020 23:42:14 +0000 (16:42 -0700)
commit7e9bab6ad51af1cab0c7457e4323166af3ac797c
tree39809dba8346810a79c663eb844be2e89407a8ea
parent06d425737bd2953cbea319b5f1d4419b54870e6c
Fix debugserver's qProcessInfo reporting of maccatalyst binaries

This patch is similar in spirit to https://reviews.llvm.org/D84480,
but does the maccatalyst/macosx disambiguation. I also took the
opportunity to factor out the gdb-remote packet log scanning used by
several testcases into lldbutil functions.

rdar://problem/66059257

Differential Revision: https://reviews.llvm.org/D84576
16 files changed:
lldb/packages/Python/lldbsuite/test/lldbutil.py
lldb/test/API/macosx/macCatalyst/Makefile [new file with mode: 0644]
lldb/test/API/macosx/macCatalyst/TestMacCatalyst.py [new file with mode: 0644]
lldb/test/API/macosx/macCatalyst/main.c [new file with mode: 0644]
lldb/test/API/macosx/macCatalystAppMacOSFramework/Makefile [moved from lldb/test/API/macosx/macabi/Makefile with 70% similarity]
lldb/test/API/macosx/macCatalystAppMacOSFramework/TestMacCatalystAppWithMacOSFramework.py [new file with mode: 0644]
lldb/test/API/macosx/macCatalystAppMacOSFramework/foo.c [moved from lldb/test/API/macosx/macabi/foo.c with 100% similarity]
lldb/test/API/macosx/macCatalystAppMacOSFramework/foo.h [moved from lldb/test/API/macosx/macabi/foo.h with 100% similarity]
lldb/test/API/macosx/macCatalystAppMacOSFramework/main.c [moved from lldb/test/API/macosx/macabi/main.c with 60% similarity]
lldb/test/API/macosx/macabi/TestMacABImacOSFramework.py [deleted file]
lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
lldb/tools/debugserver/source/DNB.cpp
lldb/tools/debugserver/source/DNB.h
lldb/tools/debugserver/source/MacOSX/MachProcess.h
lldb/tools/debugserver/source/MacOSX/MachProcess.mm
lldb/tools/debugserver/source/RNBRemote.cpp