[lldb/qemu] Stub out process info functions
authorPavel Labath <pavel@labath.sk>
Fri, 28 Oct 2022 07:04:14 +0000 (09:04 +0200)
committerPavel Labath <pavel@labath.sk>
Fri, 28 Oct 2022 07:17:53 +0000 (09:17 +0200)
commit1dc39378c46643ec9d2544da671aca78e7c6967a
tree1c75353c80af8c0edc145cc7d81c37e61345cfb1
parent8d7f88416a12a970eebe58c81329e1ac05280345
[lldb/qemu] Stub out process info functions

These functions return the information about the host process (so they
show the executable as "qemu" and have the "wrong" architecture), which
isn't useful and can confuse lldb.

We could theoretically try to identify which host processes are running
an emulator, and translate the process information, but that would be
tricky to implement, and the usefulness of it would be fairly limited as
qemu does not support attaching to a running process.
lldb/source/Plugins/Platform/QemuUser/PlatformQemuUser.h
lldb/test/API/qemu/TestQemuAPI.py