diff options
author | Simon Marchi <simon.marchi@efficios.com> | 2023-04-03 14:52:04 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2023-04-17 13:47:13 -0400 |
commit | 2b214d3e3b51b9a6544ffbcf0a1554376c3ce9c5 (patch) | |
tree | 8c6bea126421d58443f9f75dfe0d97d6b1518b1b /gdb/testsuite/gdb.rocm/fork-exec-non-gpu-to-gpu-execer.cpp | |
parent | f56944000c014116905d4fffe27da05ef8896cfd (diff) | |
download | binutils-2b214d3e3b51b9a6544ffbcf0a1554376c3ce9c5.zip binutils-2b214d3e3b51b9a6544ffbcf0a1554376c3ce9c5.tar.gz binutils-2b214d3e3b51b9a6544ffbcf0a1554376c3ce9c5.tar.bz2 |
gdb: remove regcache::target
The regcache class takes a process_stratum_target and then exposes it
through regcache::target. But it doesn't use it itself, suggesting it
doesn't really make sense to put it there. The only user of
regcache::target is record_btrace_target::fetch_registers, but it might
as well just get it from the current target stack. This simplifies a
little bit a patch later in this series.
Change-Id: I8878d875805681c77f469ac1a2bf3a508559a62d
Reviewed-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'gdb/testsuite/gdb.rocm/fork-exec-non-gpu-to-gpu-execer.cpp')
0 files changed, 0 insertions, 0 deletions