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
22ff3d43
Commit
22ff3d43
authored
Apr 15, 2004
by
Francois Gouget
Committed by
Alexandre Julliard
Apr 15, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have winedbg send its output to stderr when invoked with the --auto
option.
parent
a9a04e8d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
winedbg.c
programs/winedbg/winedbg.c
+6
-1
No files found.
programs/winedbg/winedbg.c
View file @
22ff3d43
...
...
@@ -57,9 +57,10 @@ static enum {none_mode = 0, winedbg_mode, automatic_mode, gdb_mode} local_mode;
DBG_INTVAR
DEBUG_IntVars
[
DBG_IV_LAST
];
static
HANDLE
hOutput
;
void
DEBUG_OutputA
(
const
char
*
buffer
,
int
len
)
{
WriteFile
(
GetStdHandle
(
STD_OUTPUT_HANDLE
)
,
buffer
,
len
,
NULL
,
NULL
);
WriteFile
(
hOutput
,
buffer
,
len
,
NULL
,
NULL
);
}
void
DEBUG_OutputW
(
const
WCHAR
*
buffer
,
int
len
)
...
...
@@ -1067,6 +1068,9 @@ int main(int argc, char** argv)
DWORD
retv
=
0
;
unsigned
gdb_flags
=
0
;
/* Initialize the output */
hOutput
=
GetStdHandle
(
STD_OUTPUT_HANDLE
);
/* Initialize the type handling stuff. */
DEBUG_InitTypes
();
DEBUG_InitCVDataTypes
();
...
...
@@ -1081,6 +1085,7 @@ int main(int argc, char** argv)
{
if
(
local_mode
!=
none_mode
)
return
DEBUG_Usage
();
local_mode
=
automatic_mode
;
hOutput
=
GetStdHandle
(
STD_ERROR_HANDLE
);
/* force some internal variables */
DBG_IVAR
(
BreakOnDllLoad
)
=
0
;
argc
--
;
argv
++
;
...
...
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