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
0046d6ec
Commit
0046d6ec
authored
Mar 18, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 21, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Get rid of dbg_outputW helper.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9a130ccd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
13 deletions
+1
-13
debugger.h
programs/winedbg/debugger.h
+0
-1
memory.c
programs/winedbg/memory.c
+1
-5
winedbg.c
programs/winedbg/winedbg.c
+0
-7
No files found.
programs/winedbg/debugger.h
View file @
0046d6ec
...
...
@@ -501,7 +501,6 @@ extern BOOL types_is_integral_type(const struct dbg_lvalue*);
extern
BOOL
types_is_float_type
(
const
struct
dbg_lvalue
*
);
/* winedbg.c */
extern
void
dbg_outputW
(
const
WCHAR
*
buffer
,
int
len
);
extern
const
char
*
dbg_W2A
(
const
WCHAR
*
buffer
,
unsigned
len
);
#ifdef __GNUC__
extern
int
WINAPIV
dbg_printf
(
const
char
*
format
,
...)
__attribute__
((
format
(
printf
,
1
,
2
)));
...
...
programs/winedbg/memory.c
View file @
0046d6ec
...
...
@@ -641,7 +641,6 @@ void print_basic(const struct dbg_lvalue* lvalue, char format)
{
unsigned
size
;
dbg_lgint_t
res
=
types_extract_as_lgint
(
lvalue
,
&
size
,
NULL
);
WCHAR
wch
;
switch
(
format
)
{
...
...
@@ -658,10 +657,7 @@ void print_basic(const struct dbg_lvalue* lvalue, char format)
return
;
case
'u'
:
wch
=
(
WCHAR
)(
res
&
0xFFFF
);
dbg_printf
(
"%d = '"
,
wch
);
dbg_outputW
(
&
wch
,
1
);
dbg_printf
(
"'"
);
dbg_printf
(
"%d = '%lc'"
,
(
WCHAR
)(
res
&
0xFFFF
),
(
WCHAR
)(
res
&
0xFFFF
));
return
;
case
'i'
:
...
...
programs/winedbg/winedbg.c
View file @
0046d6ec
...
...
@@ -135,13 +135,6 @@ const char* dbg_W2A(const WCHAR* buffer, unsigned len)
return
ansi
;
}
void
dbg_outputW
(
const
WCHAR
*
buffer
,
int
len
)
{
const
char
*
ansi
=
dbg_W2A
(
buffer
,
len
);
if
(
ansi
)
dbg_outputA
(
ansi
,
strlen
(
ansi
));
/* FIXME: should CP_ACP be GetConsoleCP()? */
}
int
WINAPIV
dbg_printf
(
const
char
*
format
,
...)
{
static
char
buf
[
4
*
1024
];
...
...
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