Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
f20710d9
Commit
f20710d9
authored
Jun 16, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Use nameless unions/structs.
parent
4368bd8e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
21 deletions
+13
-21
be_arm64.c
programs/winedbg/be_arm64.c
+0
-0
be_x86_64.c
programs/winedbg/be_x86_64.c
+0
-0
debugger.h
programs/winedbg/debugger.h
+0
-2
gdbproxy.c
programs/winedbg/gdbproxy.c
+0
-3
tgt_minidump.c
programs/winedbg/tgt_minidump.c
+13
-16
No files found.
programs/winedbg/be_arm64.c
View file @
f20710d9
This diff is collapsed.
Click to expand it.
programs/winedbg/be_x86_64.c
View file @
f20710d9
This diff is collapsed.
Click to expand it.
programs/winedbg/debugger.h
View file @
f20710d9
...
...
@@ -24,8 +24,6 @@
#include <assert.h>
#include <stdarg.h>
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include "ntstatus.h"
#define WIN32_NO_STATUS
#define WIN32_LEAN_AND_MEAN
...
...
programs/winedbg/gdbproxy.c
View file @
f20710d9
...
...
@@ -24,9 +24,6 @@
* http://sources.redhat.com/gdb/onlinedocs/gdb/Maintenance-Commands.html
*/
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include <assert.h>
#include <fcntl.h>
#include <stdarg.h>
...
...
programs/winedbg/tgt_minidump.c
View file @
f20710d9
...
...
@@ -18,9 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
...
...
@@ -308,8 +305,8 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
break
;
}
dbg_printf
(
" %ls was running on #%d %s CPU%s"
,
exec_name
,
msi
->
u
.
s
.
NumberOfProcessors
,
str
,
msi
->
u
.
s
.
NumberOfProcessors
<
2
?
""
:
"s"
);
exec_name
,
msi
->
NumberOfProcessors
,
str
,
msi
->
NumberOfProcessors
<
2
?
""
:
"s"
);
switch
(
msi
->
MajorVersion
)
{
case
3
:
...
...
@@ -334,8 +331,8 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
case
0
:
str
=
"2000"
;
break
;
case
1
:
str
=
"XP"
;
break
;
case
2
:
if
(
msi
->
u
.
s
.
ProductType
==
1
)
str
=
"XP"
;
else
if
(
msi
->
u
.
s
.
ProductType
==
3
)
str
=
"Server 2003"
;
if
(
msi
->
ProductType
==
1
)
str
=
"XP"
;
else
if
(
msi
->
ProductType
==
3
)
str
=
"Server 2003"
;
else
str
=
"5-????"
;
break
;
default:
str
=
"5-????"
;
break
;
...
...
@@ -345,23 +342,23 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
switch
(
msi
->
MinorVersion
)
{
case
0
:
if
(
msi
->
u
.
s
.
ProductType
==
1
)
str
=
"Vista"
;
else
if
(
msi
->
u
.
s
.
ProductType
==
3
)
str
=
"Server 2008"
;
if
(
msi
->
ProductType
==
1
)
str
=
"Vista"
;
else
if
(
msi
->
ProductType
==
3
)
str
=
"Server 2008"
;
else
str
=
"6-????"
;
break
;
case
1
:
if
(
msi
->
u
.
s
.
ProductType
==
1
)
str
=
"Win7"
;
else
if
(
msi
->
u
.
s
.
ProductType
==
3
)
str
=
"Server 2008"
;
if
(
msi
->
ProductType
==
1
)
str
=
"Win7"
;
else
if
(
msi
->
ProductType
==
3
)
str
=
"Server 2008"
;
else
str
=
"6-????"
;
break
;
case
2
:
if
(
msi
->
u
.
s
.
ProductType
==
1
)
str
=
"Win8"
;
else
if
(
msi
->
u
.
s
.
ProductType
==
3
)
str
=
"Server 2012"
;
if
(
msi
->
ProductType
==
1
)
str
=
"Win8"
;
else
if
(
msi
->
ProductType
==
3
)
str
=
"Server 2012"
;
else
str
=
"6-????"
;
break
;
case
3
:
if
(
msi
->
u
.
s
.
ProductType
==
1
)
str
=
"Win8.1"
;
else
if
(
msi
->
u
.
s
.
ProductType
==
3
)
str
=
"Server 2012 R2"
;
if
(
msi
->
ProductType
==
1
)
str
=
"Win8.1"
;
else
if
(
msi
->
ProductType
==
3
)
str
=
"Server 2012 R2"
;
else
str
=
"6-????"
;
break
;
default:
str
=
"6-????"
;
break
;
...
...
@@ -371,7 +368,7 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
switch
(
msi
->
MinorVersion
)
{
case
0
:
if
(
msi
->
u
.
s
.
ProductType
==
1
)
str
=
"Win10"
;
if
(
msi
->
ProductType
==
1
)
str
=
"Win10"
;
else
str
=
"10-????"
;
break
;
default:
str
=
"10-????"
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment