diff options
author | Tom Tromey <tromey@adacore.com> | 2023-07-11 09:54:01 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2023-07-14 10:52:56 -0600 |
commit | cb26e4bbedbc9149507b0f59c2f137d9e213e8c9 (patch) | |
tree | f923428a64e74c4096073a97976642c5dbeb8ae4 /opcodes/spu-opc.c | |
parent | eeaffa60ebbfdbcdca3aa2deb1ac97c57460225d (diff) | |
download | gdb-cb26e4bbedbc9149507b0f59c2f137d9e213e8c9.zip gdb-cb26e4bbedbc9149507b0f59c2f137d9e213e8c9.tar.gz gdb-cb26e4bbedbc9149507b0f59c2f137d9e213e8c9.tar.bz2 |
Introduce scoped_restore_current_inferior_for_memory
This introduces a new class,
scoped_restore_current_inferior_for_memory, and arranges to use it in
a few places. This class is intended to handle setting up and
restoring the various globals that are needed to read or write memory
-- but without invalidating the frame cache.
I wasn't able to test the change to aix-thread.c.
Approved-By: Pedro Alves <pedro@palves.net>
Diffstat (limited to 'opcodes/spu-opc.c')
0 files changed, 0 insertions, 0 deletions