From 9f8991fc7ffcb50434a358c852b2af0e540c240e Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 23 Mar 2022 10:11:17 +1100 Subject: [PATCH] Update winedbg-Process_Arguments patchset Warning fixes. --- ...g-Print-process-arguments-in-info-thr.patch | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/patches/winedbg-Process_Arguments/0001-programs-winedbg-Print-process-arguments-in-info-thr.patch b/patches/winedbg-Process_Arguments/0001-programs-winedbg-Print-process-arguments-in-info-thr.patch index 1f5050d7..aedaa2eb 100644 --- a/patches/winedbg-Process_Arguments/0001-programs-winedbg-Print-process-arguments-in-info-thr.patch +++ b/patches/winedbg-Process_Arguments/0001-programs-winedbg-Print-process-arguments-in-info-thr.patch @@ -1,14 +1,14 @@ -From 973213adb5e132d1f2d52ba566f188e3193defb7 Mon Sep 17 00:00:00 2001 +From 1a973b411e23c7a28ea7d997926be31be7569069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Sat, 21 Jan 2017 17:23:48 +0100 Subject: [PATCH] winedbg: Print process arguments in info threads. --- - programs/winedbg/info.c | 111 ++++++++++++++++++++++++++++++++++++++-- - 1 file changed, 107 insertions(+), 4 deletions(-) + programs/winedbg/info.c | 107 +++++++++++++++++++++++++++++++++++++++- + 1 file changed, 105 insertions(+), 2 deletions(-) diff --git a/programs/winedbg/info.c b/programs/winedbg/info.c -index bb933aeb455..b7aeb58fe9a 100644 +index bb933aeb455..57ac36165a2 100644 --- a/programs/winedbg/info.c +++ b/programs/winedbg/info.c @@ -581,6 +581,103 @@ static BOOL get_process_name(DWORD pid, PROCESSENTRY32W* entry) @@ -115,14 +115,10 @@ index bb933aeb455..b7aeb58fe9a 100644 void info_win32_threads(void) { HANDLE snap = CreateToolhelp32Snapshot(TH32CS_SNAPTHREAD, 0); -@@ -607,8 +704,9 @@ void info_win32_threads(void) - */ - if (entry.th32OwnerProcessID != lastProcessId) +@@ -609,6 +706,7 @@ void info_win32_threads(void) { -- PROCESSENTRY32W pcs_entry; -- const WCHAR* exename; -+ PROCESSENTRY32 pcs_entry; -+ const char* exename; + PROCESSENTRY32W pcs_entry; + const WCHAR* exename; + char *args; p = dbg_get_process(entry.th32OwnerProcessID);