Lines Matching refs:target1
1809 /* Regcaches from target1 should not exist, while regcaches from target2
2192 scoped_mock_context<test_target_ops> target1 (arch);
2198 target1.mock_inferior.pid = old_ptid.pid ();
2199 target1.mock_thread.ptid = old_ptid;
2200 target1.mock_inferior.ptid_thread_map.clear ();
2201 target1.mock_inferior.ptid_thread_map[old_ptid] = &target1.mock_thread;
2211 get_thread_arch_regcache (&target1.mock_inferior, old_ptid, arch);
2215 gdb_assert (regcache_count (&target1.mock_target, old_ptid) == 1);
2216 gdb_assert (regcache_count (&target1.mock_target, new_ptid) == 0);
2220 thread_change_ptid (&target1.mock_target, old_ptid, new_ptid);
2223 gdb_assert (regcache_count (&target1.mock_target, old_ptid) == 0);
2224 gdb_assert (regcache_count (&target1.mock_target, new_ptid) == 1);