OSDN Git Service

gdbstub: Expose gdb_get_process() and gdb_get_first_cpu_in_process()
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 30 Jun 2023 18:04:19 +0000 (19:04 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 3 Jul 2023 11:52:34 +0000 (12:52 +0100)
commita3fcc111fa2bd8333f53883efb41d539d95b3cd0
treea6bef71efffed76fe9e27868dc71a647e8433885
parent77ae5761f3c9e6b68f8545cff06704f823c3d387
gdbstub: Expose gdb_get_process() and gdb_get_first_cpu_in_process()

These functions will be needed by user-target.c in order to retrieve
the name of the executable.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230621203627.1808446-5-iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230630180423.558337-35-alex.bennee@linaro.org>
gdbstub/gdbstub.c
gdbstub/internals.h