diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2020-10-24 22:59:29 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-10-25 09:06:09 -0400 |
commit | 3f66685e9e92717af0cafa20480de5548aea7298 (patch) | |
tree | 03f96d39222f97ac4bb7086ba24c5754c54c3c0d /gdb/jit.h | |
parent | a0ff652f4cacc3557795204ae5e73fa9f5d2ea30 (diff) | |
download | gdb-3f66685e9e92717af0cafa20480de5548aea7298.zip gdb-3f66685e9e92717af0cafa20480de5548aea7298.tar.gz gdb-3f66685e9e92717af0cafa20480de5548aea7298.tar.bz2 |
gdb: pass inferior to check_pid_namespace_match
Pass the inferior argument available in thread_db_inferior_created, and
use it to do most things requiring the inferior.
check_pid_namespace_match is not completely decoupled from the current
inferior yet, there are hidden references behind target_can_run, for
example. But I think this is still a good step forward.
gdb/ChangeLog:
* linux-thread-db.c (check_pid_namespace_match): Add inferior
parameter and use it.
(thread_db_inferior_created): Pass inferior argument.
Change-Id: Ib768b14fc61dcf115fe13f776691f2c2f36e0679
Diffstat (limited to 'gdb/jit.h')
0 files changed, 0 insertions, 0 deletions