aboutsummaryrefslogtreecommitdiff
path: root/opcodes/spu-opc.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-07-11 09:54:01 -0600
committerTom Tromey <tromey@adacore.com>2023-07-14 10:52:56 -0600
commitcb26e4bbedbc9149507b0f59c2f137d9e213e8c9 (patch)
treef923428a64e74c4096073a97976642c5dbeb8ae4 /opcodes/spu-opc.c
parenteeaffa60ebbfdbcdca3aa2deb1ac97c57460225d (diff)
downloadgdb-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