ReactOS
0.4.15-dev-5615-gc3644fd
|
#include "wine/config.h"
#include "wine/port.h"
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
#include <excpt.h>
#include "wine/debug.h"
#include "wine/library.h"
#include <rtlfuncs.h>
#include <cmfuncs.h>
Go to the source code of this file.
Macros | |
#define | WIN32_NO_STATUS |
#define | MAX_DEBUG_OPTIONS 256 |
Variables | |
static const char *const | debug_classes [] = { "fixme", "err", "warn", "trace" } |
static unsigned char | default_flags = (1 << __WINE_DBCL_ERR) | (1 << __WINE_DBCL_FIXME) |
static int | nb_debug_options = -1 |
static struct __wine_debug_channel | debug_options [MAX_DEBUG_OPTIONS] |
static struct __wine_debug_functions | funcs |
unsigned char __wine_dbg_get_channel_flags | ( | struct __wine_debug_channel * | channel | ) |
Definition at line 83 of file debug.c.
Referenced by ros_dbg_log(), and wine_dbg_log().
int __wine_dbg_set_channel_flags | ( | struct __wine_debug_channel * | channel, |
unsigned char | set, | ||
unsigned char | clear | ||
) |
Definition at line 99 of file debug.c.
void __wine_dbg_set_functions | ( | const struct __wine_debug_functions * | new_funcs, |
struct __wine_debug_functions * | old_funcs, | ||
size_t | size | ||
) |
Definition at line 118 of file debug.c.
Referenced by parse_options().
Definition at line 75 of file debug.c.
Referenced by __wine_dbg_get_channel_flags(), and __wine_dbg_set_channel_flags().
Definition at line 220 of file debug.c.
Referenced by __wine_dbg_get_channel_flags(), and __wine_dbg_set_channel_flags().
Definition at line 469 of file debug.c.
|
static |
Definition at line 514 of file debug.c.
Referenced by debug_init().
Definition at line 336 of file debug.c.
Definition at line 152 of file debug.c.
Referenced by debug_init().
int ros_dbg_log | ( | enum __wine_debug_class | cls, |
struct __wine_debug_channel * | channel, | ||
const char * | file, | ||
const char * | func, | ||
const int | line, | ||
const char * | format, | ||
... | |||
) |
Definition at line 319 of file debug.c.
|
static |
Definition at line 493 of file debug.c.
Referenced by debug_init().
ULONG NTAPI vDbgPrintExWithPrefix | ( | IN LPCSTR | Prefix, |
IN ULONG | ComponentId, | ||
IN ULONG | Level, | ||
IN LPCSTR | Format, | ||
IN va_list | ap | ||
) |
Referenced by default_dbg_vprintf(), and EngDebugPrint().
int wine_dbg_log | ( | enum __wine_debug_class | cls, |
struct __wine_debug_channel * | channel, | ||
const char * | func, | ||
const char * | format, | ||
... | |||
) |
Definition at line 303 of file debug.c.
Definition at line 273 of file debug.c.
Referenced by extfmt_default_dbg_vlog(), rosfmt_default_dbg_vlog(), and winefmt_default_dbg_vlog().
Definition at line 541 of file debug.c.
Referenced by debugstr_a(), debugstr_an(), and wine_dbgstr_a().
Definition at line 546 of file debug.c.
Referenced by debugstr_w(), debugstr_wn(), and wine_dbgstr_w().
WINE_DECLARE_DEBUG_CHANNEL | ( | pid | ) |
WINE_DECLARE_DEBUG_CHANNEL | ( | tid | ) |
|
static |
Definition at line 51 of file debug.c.
Referenced by extfmt_default_dbg_vlog(), KdbpCmdFilter(), parse_options(), rosfmt_default_dbg_vlog(), and winefmt_default_dbg_vlog().
|
static |
Definition at line 57 of file debug.c.
Referenced by __wine_dbg_get_channel_flags(), __wine_dbg_set_channel_flags(), and add_option().
|
static |
Definition at line 55 of file debug.c.
Referenced by __wine_dbg_get_channel_flags(), add_option(), and parse_options().
|
static |
Definition at line 59 of file debug.c.
Referenced by __wine_dbg_set_functions(), add_func_info(), add_function_decl(), build_format_strings(), cff_size_done(), cff_size_init(), cff_size_request(), cff_slot_init(), cid_size_done(), cid_size_init(), cid_size_request(), cid_slot_init(), CreateProxyFromTypeInfo(), CreateStubFromTypeInfo(), debug_init(), default_dbgstr_an(), default_dbgstr_wn(), DispatchEx_GetNextDispID(), extfmt_default_dbg_vlog(), get_iface_info(), ITypeInfoImpl_GetInternalDispatchFuncDesc(), NP_GetEntryPoints(), num_handlers(), psh_globals_funcs_init(), report(), ros_dbg_log(), rosfmt_default_dbg_vlog(), T1_GlyphSlot_Init(), t1_hints_funcs_init(), T1_Size_Done(), T1_Size_Init(), T1_Size_Request(), t2_hints_funcs_init(), tess_callback_begin(), tess_callback_end(), tess_callback_vertex(), test_FakeDLL(), test_LoadFunctionPointers(), test_provider_funcs(), test_utils(), testCertTrust(), testInitialize(), testObjTrust(), wglUseFontBitmaps_common(), wglUseFontOutlines_common(), wine_dbg_log(), wine_dbg_printf(), wine_dbg_sprintf(), wine_dbgstr_an(), wine_dbgstr_wn(), winefmt_default_dbg_vlog(), and write_iface_fs().
|
static |
Definition at line 56 of file debug.c.
Referenced by __wine_dbg_get_channel_flags(), __wine_dbg_set_channel_flags(), add_option(), and debug_init().