Rémi Bernon (@rbernon) commented about programs/winedbg/info.c:
+ wine_get_host_version = (void *)GetProcAddress(GetModuleHandleA("ntdll.dll"), "wine_get_host_version"); + + RtlWow64GetProcessMachines( GetCurrentProcess(), ¤t, &native ); + + dbg_printf( "System information:\n" ); + if (wine_get_build_id) dbg_printf( " Wine build: %s\n", wine_get_build_id() ); + dbg_printf( " Platform: %s", get_machine_str(native)); + for (count = i = 0; i < ARRAY_SIZE(guest_machines); i++) + { + if (is_guest(native, guest_machines[i])) + { + if (!count++) dbg_printf(" (guest:"); + dbg_printf(" %s", get_machine_str(guest_machines[i])); + } + } + dbg_printf("%s\n", count ? ")" : ""); Fwiw I think it's best to move code around without modification (except maybe stylistic) first, then make some logic changes, otherwise it's hard to tell if something and what has changed.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3246#note_38298