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
1d65efe5
Commit
1d65efe5
authored
Nov 12, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Nov 12, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Use BOOL type where appropriate.
parent
2209fdbd
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
23 deletions
+23
-23
cpu_arm.c
dlls/dbghelp/cpu_arm.c
+2
-2
cpu_arm64.c
dlls/dbghelp/cpu_arm64.c
+2
-2
cpu_i386.c
dlls/dbghelp/cpu_i386.c
+4
-4
cpu_ppc.c
dlls/dbghelp/cpu_ppc.c
+2
-2
cpu_x86_64.c
dlls/dbghelp/cpu_x86_64.c
+2
-2
dbghelp_private.h
dlls/dbghelp/dbghelp_private.h
+1
-1
module.c
dlls/dbghelp/module.c
+1
-1
msc.c
dlls/dbghelp/msc.c
+9
-9
No files found.
dlls/dbghelp/cpu_arm.c
View file @
1d65efe5
...
...
@@ -29,8 +29,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
static
unsigned
arm_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
static
BOOL
arm_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
{
addr
->
Mode
=
AddrModeFlat
;
addr
->
Segment
=
0
;
/* don't need segment */
...
...
dlls/dbghelp/cpu_arm64.c
View file @
1d65efe5
...
...
@@ -29,8 +29,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
static
unsigned
arm64_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
static
BOOL
arm64_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
{
addr
->
Mode
=
AddrModeFlat
;
addr
->
Segment
=
0
;
/* don't need segment */
...
...
dlls/dbghelp/cpu_i386.c
View file @
1d65efe5
...
...
@@ -48,8 +48,8 @@ static ADDRESS_MODE get_selector_type(HANDLE hThread, const CONTEXT* ctx, WORD s
return
-
1
;
}
static
unsigned
i386_build_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
ADDRESS64
*
addr
,
unsigned
seg
,
unsigned
long
offset
)
static
BOOL
i386_build_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
ADDRESS64
*
addr
,
unsigned
seg
,
unsigned
long
offset
)
{
addr
->
Mode
=
AddrModeFlat
;
addr
->
Segment
=
seg
;
...
...
@@ -73,8 +73,8 @@ static unsigned i386_build_addr(HANDLE hThread, const CONTEXT* ctx, ADDRESS64* a
}
#endif
static
unsigned
i386_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
static
BOOL
i386_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
{
#ifdef __i386__
switch
(
ca
)
...
...
dlls/dbghelp/cpu_ppc.c
View file @
1d65efe5
...
...
@@ -28,8 +28,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
static
unsigned
ppc_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
static
BOOL
ppc_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
{
switch
(
ca
)
{
...
...
dlls/dbghelp/cpu_x86_64.c
View file @
1d65efe5
...
...
@@ -91,8 +91,8 @@ typedef struct _UNWIND_INFO
#define GetExceptionDataPtr(info) \
((PVOID)((PULONG)GetLanguageSpecificData(info) + 1)
static
unsigned
x86_64_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
static
BOOL
x86_64_get_addr
(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
ca
,
ADDRESS64
*
addr
)
{
addr
->
Mode
=
AddrModeFlat
;
switch
(
ca
)
...
...
dlls/dbghelp/dbghelp_private.h
View file @
1d65efe5
...
...
@@ -520,7 +520,7 @@ struct cpu
DWORD
frame_regno
;
/* address manipulation */
unsigned
(
*
get_addr
)(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
BOOL
(
*
get_addr
)(
HANDLE
hThread
,
const
CONTEXT
*
ctx
,
enum
cpu_addr
,
ADDRESS64
*
addr
);
/* stack manipulation */
...
...
dlls/dbghelp/module.c
View file @
1d65efe5
...
...
@@ -56,7 +56,7 @@ static int match_ext(const WCHAR* ptr, size_t len)
for
(
e
=
ext
;
*
e
;
e
++
)
{
l
=
strlenW
(
*
e
);
if
(
l
>=
len
)
return
FALSE
;
if
(
l
>=
len
)
return
0
;
if
(
strncmpiW
(
&
ptr
[
len
-
l
],
*
e
,
l
))
continue
;
return
l
;
}
...
...
dlls/dbghelp/msc.c
View file @
1d65efe5
...
...
@@ -651,9 +651,9 @@ static struct symt* codeview_add_type_array(struct codeview_type_parse* ctp,
return
&
symt_new_array
(
ctp
->
module
,
0
,
-
arr_len
,
elem
,
index
)
->
symt
;
}
static
int
codeview_add_type_enum_field_list
(
struct
module
*
module
,
struct
symt_enum
*
symt
,
const
union
codeview_reftype
*
ref_type
)
static
BOOL
codeview_add_type_enum_field_list
(
struct
module
*
module
,
struct
symt_enum
*
symt
,
const
union
codeview_reftype
*
ref_type
)
{
const
unsigned
char
*
ptr
=
ref_type
->
fieldlist
.
list
;
const
unsigned
char
*
last
=
(
const
BYTE
*
)
ref_type
+
ref_type
->
generic
.
len
+
2
;
...
...
@@ -1327,12 +1327,12 @@ static struct symt* codeview_parse_one_type(struct codeview_type_parse* ctp,
default:
FIXME
(
"Unsupported type-id leaf %x
\n
"
,
type
->
generic
.
id
);
dump
(
type
,
2
+
type
->
generic
.
len
);
return
FALSE
;
return
NULL
;
}
return
codeview_add_type
(
curr_type
,
symt
)
?
symt
:
NULL
;
}
static
int
codeview_parse_type_table
(
struct
codeview_type_parse
*
ctp
)
static
BOOL
codeview_parse_type_table
(
struct
codeview_type_parse
*
ctp
)
{
unsigned
int
curr_type
=
FIRST_DEFINABLE_TYPE
;
const
union
codeview_type
*
type
;
...
...
@@ -1557,8 +1557,8 @@ static inline void codeview_add_variable(const struct msc_debug_info* msc_dbg,
}
}
static
int
codeview_snarf
(
const
struct
msc_debug_info
*
msc_dbg
,
const
BYTE
*
root
,
int
offset
,
int
size
,
BOOL
do_globals
)
static
BOOL
codeview_snarf
(
const
struct
msc_debug_info
*
msc_dbg
,
const
BYTE
*
root
,
int
offset
,
int
size
,
BOOL
do_globals
)
{
struct
symt_function
*
curr_func
=
NULL
;
int
i
,
length
;
...
...
@@ -2004,8 +2004,8 @@ static int codeview_snarf(const struct msc_debug_info* msc_dbg, const BYTE* root
return
TRUE
;
}
static
int
codeview_snarf_public
(
const
struct
msc_debug_info
*
msc_dbg
,
const
BYTE
*
root
,
int
offset
,
int
size
)
static
BOOL
codeview_snarf_public
(
const
struct
msc_debug_info
*
msc_dbg
,
const
BYTE
*
root
,
int
offset
,
int
size
)
{
int
i
,
length
;
...
...
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