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
14dbbe06
Commit
14dbbe06
authored
Jun 13, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added /g debug format to dump GUIDs.
parent
a3edecaa
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
2 deletions
+21
-2
debug.l
debugger/debug.l
+1
-1
memory.c
debugger/memory.c
+19
-0
types.c
debugger/types.c
+1
-1
No files found.
debugger/debug.l
View file @
14dbbe06
...
...
@@ -40,7 +40,7 @@ static int syntax_error;
DIGIT [0-9]
HEXDIGIT [0-9a-fA-F]
FORMAT [ubcdiswx]
FORMAT [ubcd
g
iswx]
IDENTIFIER [_a-zA-Z~][_a-zA-Z0-9~@]*
PATHNAME [/_a-zA-Z\.~][/_a-zA-Z0-9\.~@]*
STRING \"[^\n"]+\"
...
...
debugger/memory.c
View file @
14dbbe06
...
...
@@ -288,6 +288,25 @@ void DEBUG_ExamineMemory( const DBG_VALUE *_value, int count, char format )
case
'i'
:
while
(
count
--
&&
DEBUG_DisassembleInstruction
(
&
value
.
addr
));
return
;
case
'g'
:
while
(
count
--
)
{
GUID
guid
;
if
(
!
DEBUG_READ_MEM_VERBOSE
(
pnt
,
&
guid
,
sizeof
(
guid
)))
break
;
DEBUG_Printf
(
DBG_CHN_MESG
,
"{%08lx-%04x-%04x-%02x%02x-%02x%02x%02x%02x%02x%02x}
\n
"
,
guid
.
Data1
,
guid
.
Data2
,
guid
.
Data3
,
guid
.
Data4
[
0
],
guid
.
Data4
[
1
],
guid
.
Data4
[
2
],
guid
.
Data4
[
3
],
guid
.
Data4
[
4
],
guid
.
Data4
[
5
],
guid
.
Data4
[
6
],
guid
.
Data4
[
7
]
);
pnt
+=
sizeof
(
guid
);
value
.
addr
.
off
+=
sizeof
(
guid
);
if
(
count
)
{
DEBUG_PrintAddress
(
&
value
.
addr
,
DEBUG_CurrThread
->
dbg_mode
,
FALSE
);
DEBUG_Printf
(
DBG_CHN_MESG
,
": "
);
}
}
return
;
#define DO_DUMP2(_t,_l,_f,_vv) { \
_t _v; \
for(i=0; i<count; i++) { \
...
...
debugger/types.c
View file @
14dbbe06
...
...
@@ -835,7 +835,7 @@ DEBUG_Print( const DBG_VALUE *value, int count, char format, int level )
goto
leave
;
}
if
(
format
==
'i'
||
format
==
's'
||
format
==
'w'
||
format
==
'b'
)
if
(
format
==
'i'
||
format
==
's'
||
format
==
'w'
||
format
==
'b'
||
format
==
'g'
)
{
DEBUG_Printf
(
DBG_CHN_MESG
,
"Format specifier '%c' is meaningless in 'print' command
\n
"
,
format
);
format
=
'\0'
;
...
...
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