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
06b41408
Commit
06b41408
authored
Apr 01, 2007
by
Eric Pouech
Committed by
Alexandre Julliard
Apr 02, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg, winedump: Extended some info printed from system info directory in minidump about the CPU.
parent
0fc4013f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
tgt_minidump.c
programs/winedbg/tgt_minidump.c
+5
-4
minidump.c
tools/winedump/minidump.c
+8
-6
No files found.
programs/winedbg/tgt_minidump.c
View file @
06b41408
...
...
@@ -222,22 +222,23 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data)
case
3
:
str
=
"80386"
;
break
;
case
4
:
str
=
"80486"
;
break
;
case
5
:
str
=
"Pentium"
;
break
;
case
6
:
str
=
"Pentium Pro/II"
;
break
;
case
6
:
str
=
"Pentium Pro/II or AMD Athlon"
;
break
;
case
15
:
str
=
"Pentium 4 or AMD Athlon64"
;
break
;
default:
str
=
"???"
;
break
;
}
strcat
(
tmp
,
str
);
if
(
msi
->
ProcessorLevel
==
3
||
msi
->
ProcessorLevel
==
4
)
{
if
(
HIWORD
(
msi
->
ProcessorRevision
)
==
0xFF
)
sprintf
(
tmp
+
strlen
(
tmp
),
"
-%c%d
"
,
sprintf
(
tmp
+
strlen
(
tmp
),
"
(%c%d)
"
,
'A'
+
HIBYTE
(
LOWORD
(
msi
->
ProcessorRevision
)),
LOBYTE
(
LOWORD
(
msi
->
ProcessorRevision
)));
else
sprintf
(
tmp
+
strlen
(
tmp
),
"
-%c%d
"
,
sprintf
(
tmp
+
strlen
(
tmp
),
"
(%c%d)
"
,
'A'
+
HIWORD
(
msi
->
ProcessorRevision
),
LOWORD
(
msi
->
ProcessorRevision
));
}
else
sprintf
(
tmp
+
strlen
(
tmp
),
"
-%d.%d
"
,
else
sprintf
(
tmp
+
strlen
(
tmp
),
"
(%d.%d)
"
,
HIWORD
(
msi
->
ProcessorRevision
),
LOWORD
(
msi
->
ProcessorRevision
));
str
=
tmp
;
...
...
tools/winedump/minidump.c
View file @
06b41408
...
...
@@ -259,18 +259,20 @@ void mdmp_dump(void)
case
3
:
str
=
"80386"
;
break
;
case
4
:
str
=
"80486"
;
break
;
case
5
:
str
=
"Pentium"
;
break
;
case
6
:
str
=
"Pentium Pro/II"
;
break
;
case
6
:
str
=
"Pentium Pro/II or AMD Athlon"
;
break
;
case
15
:
str
=
"Pentium 4 or AMD Athlon64"
;
break
;
default:
str
=
"???"
;
break
;
}
strcat
(
tmp
,
str
);
strcat
(
tmp
,
" ("
);
if
(
msi
->
ProcessorLevel
==
3
||
msi
->
ProcessorLevel
==
4
)
{
if
(
HIWORD
(
msi
->
ProcessorRevision
)
==
0xFF
)
sprintf
(
tmp
+
strlen
(
tmp
),
"
-
%c%d"
,
'A'
+
HIBYTE
(
LOWORD
(
msi
->
ProcessorRevision
)),
LOBYTE
(
LOWORD
(
msi
->
ProcessorRevision
)));
sprintf
(
tmp
+
strlen
(
tmp
),
"%c%d"
,
'A'
+
HIBYTE
(
LOWORD
(
msi
->
ProcessorRevision
)),
LOBYTE
(
LOWORD
(
msi
->
ProcessorRevision
)));
else
sprintf
(
tmp
+
strlen
(
tmp
),
"
-
%c%d"
,
'A'
+
HIWORD
(
msi
->
ProcessorRevision
),
LOWORD
(
msi
->
ProcessorRevision
));
sprintf
(
tmp
+
strlen
(
tmp
),
"%c%d"
,
'A'
+
HIWORD
(
msi
->
ProcessorRevision
),
LOWORD
(
msi
->
ProcessorRevision
));
}
else
sprintf
(
tmp
+
strlen
(
tmp
),
"
-
%d.%d"
,
HIWORD
(
msi
->
ProcessorRevision
),
LOWORD
(
msi
->
ProcessorRevision
));
else
sprintf
(
tmp
+
strlen
(
tmp
),
"%d.%d"
,
HIWORD
(
msi
->
ProcessorRevision
),
LOWORD
(
msi
->
ProcessorRevision
));
str
=
tmp
;
break
;
case
PROCESSOR_ARCHITECTURE_MIPS
:
...
...
@@ -286,7 +288,7 @@ void mdmp_dump(void)
str
=
"???"
;
break
;
}
printf
(
" Processor: %s
(
#%d CPUs)
\n
"
,
str
,
msi
->
u
.
s
.
NumberOfProcessors
);
printf
(
" Processor: %s
,
#%d CPUs)
\n
"
,
str
,
msi
->
u
.
s
.
NumberOfProcessors
);
switch
(
msi
->
MajorVersion
)
{
case
3
:
...
...
@@ -330,7 +332,7 @@ void mdmp_dump(void)
msi
->
Cpu
.
X86CpuInfo
.
VersionInformation
);
printf
(
" x86.FeatureInformation: %x
\n
"
,
msi
->
Cpu
.
X86CpuInfo
.
FeatureInformation
);
printf
(
" x86.AMDExtendedCpuFeatures: %
u
\n
"
,
printf
(
" x86.AMDExtendedCpuFeatures: %
x
\n
"
,
msi
->
Cpu
.
X86CpuInfo
.
AMDExtendedCpuFeatures
);
}
}
...
...
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