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
f96bdda0
Commit
f96bdda0
authored
Dec 14, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Added 'a' to the format supported in examine command (a stands for address).
parent
5aa859de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
+17
-8
debug.l
programs/winedbg/debug.l
+1
-1
memory.c
programs/winedbg/memory.c
+16
-7
No files found.
programs/winedbg/debug.l
View file @
f96bdda0
...
...
@@ -109,7 +109,7 @@ static int syntax_error;
DIGIT [0-9]
HEXDIGIT [0-9a-fA-F]
FORMAT [ubcdgiswx]
FORMAT [ubcdgiswx
a
]
IDENTIFIER [_a-zA-Z~?][_a-zA-Z0-9~?@]*
PATHNAME [\\/_a-zA-Z0-9\.~@][\\/\-_a-zA-Z0-9\.~@]*
STRING \"[^\n"]+\"
...
...
programs/winedbg/memory.c
View file @
f96bdda0
...
...
@@ -216,15 +216,24 @@ void memory_examine(const struct dbg_lvalue *lvalue, int count, char format)
} \
} \
dbg_printf("\n"); \
} \
return
}
#define DO_DUMP(_t,_l,_f) DO_DUMP2(_t,_l,_f,_v)
case
'x'
:
DO_DUMP
(
int
,
4
,
" %8.8x"
);
case
'd'
:
DO_DUMP
(
unsigned
int
,
4
,
" %4.4d"
);
case
'w'
:
DO_DUMP
(
unsigned
short
,
8
,
" %04x"
);
case
'c'
:
DO_DUMP2
(
char
,
32
,
" %c"
,
(
_v
<
0x20
)
?
' '
:
_v
);
case
'b'
:
DO_DUMP2
(
char
,
16
,
" %02x"
,
(
_v
)
&
0xff
);
case
'x'
:
DO_DUMP
(
int
,
4
,
" %8.8x"
);
break
;
case
'd'
:
DO_DUMP
(
unsigned
int
,
4
,
" %4.4d"
);
break
;
case
'w'
:
DO_DUMP
(
unsigned
short
,
8
,
" %04x"
);
break
;
case
'a'
:
if
(
sizeof
(
DWORD_PTR
)
==
4
)
{
DO_DUMP
(
DWORD_PTR
,
4
,
" %8.8lx"
);
}
else
{
DO_DUMP
(
DWORD_PTR
,
2
,
" %16.16lx"
);
}
break
;
case
'c'
:
DO_DUMP2
(
char
,
32
,
" %c"
,
(
_v
<
0x20
)
?
' '
:
_v
);
break
;
case
'b'
:
DO_DUMP2
(
char
,
16
,
" %02x"
,
(
_v
)
&
0xff
);
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