mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-09-13 09:17:20 -07:00
Update winedbg-Process_Arguments patchset
Warning fixes.
This commit is contained in:
parent
eb80c9d640
commit
9f8991fc7f
@ -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?= <michael@fds-team.de>
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user