Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
70d11a59
Commit
70d11a59
authored
Mar 21, 2024
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 21, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Update the CPU information displayed when reloading a minidump.
Signed-off-by:
Eric Pouech
<
epouech@codeweavers.com
>
parent
97e584b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
tgt_minidump.c
programs/winedbg/tgt_minidump.c
+8
-4
No files found.
programs/winedbg/tgt_minidump.c
View file @
70d11a59
...
@@ -314,17 +314,20 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
...
@@ -314,17 +314,20 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
str
=
"Unknown"
;
str
=
"Unknown"
;
break
;
break
;
case
PROCESSOR_ARCHITECTURE_INTEL
:
case
PROCESSOR_ARCHITECTURE_INTEL
:
strcpy
(
tmp
,
"
Intel
"
);
strcpy
(
tmp
,
"
x86 [
"
);
switch
(
msi
->
ProcessorLevel
)
switch
(
msi
->
ProcessorLevel
)
{
{
case
3
:
str
=
"80386"
;
break
;
case
3
:
str
=
"80386"
;
break
;
case
4
:
str
=
"80486"
;
break
;
case
4
:
str
=
"80486"
;
break
;
case
5
:
str
=
"Pentium"
;
break
;
case
5
:
str
=
"Pentium"
;
break
;
case
6
:
str
=
"Pentium Pro/II or AMD Athlon"
;
break
;
case
6
:
str
=
"Pentium Pro/II
, III, Core, Atom
or AMD Athlon"
;
break
;
case
15
:
str
=
"Pentium 4 or AMD Athlon64"
;
break
;
case
15
:
str
=
"Pentium 4 or AMD Athlon64"
;
break
;
default:
str
=
"???"
;
break
;
case
23
:
str
=
"AMD Zen 1 or 2"
;
break
;
case
25
:
str
=
"AMD Zen 3 or 4"
;
break
;
case
26
:
str
=
"AMD Zen 5"
;
break
;
default:
sprintf
(
tmp
+
strlen
(
tmp
),
"Proc-level #%x"
,
msi
->
ProcessorLevel
);
str
=
NULL
;
break
;
}
}
strcat
(
tmp
,
str
);
if
(
str
)
strcat
(
tmp
,
str
);
if
(
msi
->
ProcessorLevel
==
3
||
msi
->
ProcessorLevel
==
4
)
if
(
msi
->
ProcessorLevel
==
3
||
msi
->
ProcessorLevel
==
4
)
{
{
if
(
HIBYTE
(
msi
->
ProcessorRevision
)
==
0xFF
)
if
(
HIBYTE
(
msi
->
ProcessorRevision
)
==
0xFF
)
...
@@ -339,6 +342,7 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
...
@@ -339,6 +342,7 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
else
sprintf
(
tmp
+
strlen
(
tmp
),
" (%d.%d)"
,
else
sprintf
(
tmp
+
strlen
(
tmp
),
" (%d.%d)"
,
HIBYTE
(
msi
->
ProcessorRevision
),
HIBYTE
(
msi
->
ProcessorRevision
),
LOBYTE
(
msi
->
ProcessorRevision
));
LOBYTE
(
msi
->
ProcessorRevision
));
strcat
(
tmp
,
"]"
);
str
=
tmp
;
str
=
tmp
;
break
;
break
;
case
PROCESSOR_ARCHITECTURE_MIPS
:
case
PROCESSOR_ARCHITECTURE_MIPS
:
...
...
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