Disable object watching for GCC

This commit is contained in:
momo5502
2025-04-19 08:25:58 +02:00
parent 2d7aecc3f4
commit b5c37e6a92

View File

@@ -56,6 +56,11 @@ namespace
void watch_system_objects(windows_emulator& win_emu, const std::set<std::string, std::less<>>& modules,
const bool cache_logging)
{
(void)win_emu;
(void)modules;
(void)cache_logging;
#if !defined(__GNUC__) || defined(__clang__)
watch_object(win_emu, modules, *win_emu.current_thread().teb, cache_logging);
watch_object(win_emu, modules, win_emu.process.peb, cache_logging);
watch_object(win_emu, modules, emulator_object<KUSER_SHARED_DATA64>{win_emu.emu(), kusd_mmio::address()},
@@ -79,6 +84,7 @@ namespace
params_hook = watch_object(win_emu, modules, obj, cache_logging);
}
});
#endif
}
bool read_yes_no_answer()