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
1b2ceb57
Commit
1b2ceb57
authored
Jan 06, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Moved _DebugOutput to kernel16.c.
parent
14c452fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
debugger.c
dlls/kernel32/debugger.c
+0
-19
kernel16.c
dlls/kernel32/kernel16.c
+19
-0
No files found.
dlls/kernel32/debugger.c
View file @
1b2ceb57
...
...
@@ -25,7 +25,6 @@
#include "wine/winbase16.h"
#include "wine/server.h"
#include "kernel_private.h"
#include "kernel16_private.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
debugstr
);
...
...
@@ -409,24 +408,6 @@ BOOL WINAPI CheckRemoteDebuggerPresent(HANDLE process, PBOOL DebuggerPresent)
}
/***********************************************************************
* _DebugOutput (KERNEL.328)
*/
void
WINAPIV
_DebugOutput
(
WORD
flags
,
LPCSTR
spec
,
VA_LIST16
valist
)
{
char
caller
[
101
];
/* Decode caller address */
if
(
!
GetModuleName16
(
GetExePtr
(
CURRENT_STACK16
->
cs
),
caller
,
sizeof
(
caller
)
))
sprintf
(
caller
,
"%04X:%04X"
,
CURRENT_STACK16
->
cs
,
CURRENT_STACK16
->
ip
);
/* FIXME: cannot use wvsnprintf16 from kernel */
/* wvsnprintf16( temp, sizeof(temp), spec, valist ); */
/* Output */
FIXME
(
"%s %04x %s
\n
"
,
caller
,
flags
,
debugstr_a
(
spec
)
);
}
/***********************************************************************
* DebugSetProcessKillOnExit (KERNEL32.@)
*
* Let a debugger decide whether a debuggee will be killed upon debugger
...
...
dlls/kernel32/kernel16.c
View file @
1b2ceb57
...
...
@@ -19,6 +19,7 @@
*/
#include <stdarg.h>
#include <stdio.h>
#include "windef.h"
#include "winbase.h"
...
...
@@ -264,3 +265,21 @@ void WINAPI WINHELP_EntryPoint( CONTEXT86 *context )
HeapFree
(
GetProcessHeap
(),
0
,
cmdline
);
ExitThread
(
exit_code
);
}
/***********************************************************************
* _DebugOutput (KERNEL.328)
*/
void
WINAPIV
_DebugOutput
(
WORD
flags
,
LPCSTR
spec
,
VA_LIST16
valist
)
{
char
caller
[
101
];
/* Decode caller address */
if
(
!
GetModuleName16
(
GetExePtr
(
CURRENT_STACK16
->
cs
),
caller
,
sizeof
(
caller
)
))
sprintf
(
caller
,
"%04X:%04X"
,
CURRENT_STACK16
->
cs
,
CURRENT_STACK16
->
ip
);
/* FIXME: cannot use wvsnprintf16 from kernel */
/* wvsnprintf16( temp, sizeof(temp), spec, valist ); */
/* Output */
FIXME
(
"%s %04x %s
\n
"
,
caller
,
flags
,
debugstr_a
(
spec
)
);
}
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