diff options
Diffstat (limited to 'gdb/scoped-mock-context.h')
-rw-r--r-- | gdb/scoped-mock-context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/scoped-mock-context.h b/gdb/scoped-mock-context.h index 8332e46..8d295ba 100644 --- a/gdb/scoped-mock-context.h +++ b/gdb/scoped-mock-context.h @@ -64,7 +64,7 @@ struct scoped_mock_context /* Push the process_stratum target so we can mock accessing registers. */ gdb_assert (mock_target.stratum () == process_stratum); - push_target (&mock_target); + mock_inferior.push_target (&mock_target); /* Switch to the mock thread. */ switch_to_thread (&mock_thread); |