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
b2f967e0
Commit
b2f967e0
authored
Dec 09, 2014
by
André Hentschel
Committed by
Alexandre Julliard
Dec 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Fix compiler warnings with flag -Wunused-macros.
parent
900e7c5d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
19 deletions
+2
-19
cpu_i386.c
dlls/dbghelp/cpu_i386.c
+0
-1
cpu_x86_64.c
dlls/dbghelp/cpu_x86_64.c
+2
-16
msc.c
dlls/dbghelp/msc.c
+0
-2
No files found.
dlls/dbghelp/cpu_i386.c
View file @
b2f967e0
...
@@ -29,7 +29,6 @@
...
@@ -29,7 +29,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
#define STEP_FLAG 0x00000100
/* single step flag */
#define V86_FLAG 0x00020000
#define V86_FLAG 0x00020000
#define IS_VM86_MODE(ctx) (ctx->EFlags & V86_FLAG)
#define IS_VM86_MODE(ctx) (ctx->EFlags & V86_FLAG)
...
...
dlls/dbghelp/cpu_x86_64.c
View file @
b2f967e0
...
@@ -76,21 +76,6 @@ typedef struct _UNWIND_INFO
...
@@ -76,21 +76,6 @@ typedef struct _UNWIND_INFO
*/
*/
}
UNWIND_INFO
,
*
PUNWIND_INFO
;
}
UNWIND_INFO
,
*
PUNWIND_INFO
;
#define GetUnwindCodeEntry(info, index) \
((info)->UnwindCode[index])
#define GetLanguageSpecificDataPtr(info) \
((PVOID)&GetUnwindCodeEntry((info),((info)->CountOfCodes + 1) & ~1))
#define GetExceptionHandler(base, info) \
((PEXCEPTION_HANDLER)((base) + *(PULONG)GetLanguageSpecificDataPtr(info)))
#define GetChainedFunctionEntry(base, info) \
((PRUNTIME_FUNCTION)((base) + *(PULONG)GetLanguageSpecificDataPtr(info)))
#define GetExceptionDataPtr(info) \
((PVOID)((PULONG)GetLanguageSpecificData(info) + 1)
static
BOOL
x86_64_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
static
BOOL
x86_64_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
{
{
...
@@ -107,6 +92,8 @@ static BOOL x86_64_get_addr(HANDLE hThread, const CONTEXT* ctx,
...
@@ -107,6 +92,8 @@ static BOOL x86_64_get_addr(HANDLE hThread, const CONTEXT* ctx,
}
}
}
}
#ifdef __x86_64__
enum
st_mode
{
stm_start
,
stm_64bit
,
stm_done
};
enum
st_mode
{
stm_start
,
stm_64bit
,
stm_done
};
/* indexes in Reserved array */
/* indexes in Reserved array */
...
@@ -118,7 +105,6 @@ enum st_mode {stm_start, stm_64bit, stm_done};
...
@@ -118,7 +105,6 @@ enum st_mode {stm_start, stm_64bit, stm_done};
#define curr_count (frame->Reserved[__CurrentCount])
#define curr_count (frame->Reserved[__CurrentCount])
/* #define ??? (frame->Reserved[__]) (unused) */
/* #define ??? (frame->Reserved[__]) (unused) */
#ifdef __x86_64__
union
handler_data
union
handler_data
{
{
RUNTIME_FUNCTION
chain
;
RUNTIME_FUNCTION
chain
;
...
...
dlls/dbghelp/msc.c
View file @
b2f967e0
...
@@ -58,8 +58,6 @@
...
@@ -58,8 +58,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp_msc
);
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp_msc
);
#define MAX_PATHNAME_LEN 1024
struct
pdb_stream_name
struct
pdb_stream_name
{
{
const
char
*
name
;
const
char
*
name
;
...
...
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