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
2a64e751
Commit
2a64e751
authored
Dec 14, 2018
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fix incorrect pointer casts.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
dd016c03
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
be_i386.c
programs/winedbg/be_i386.c
+1
-2
db_disasm.c
programs/winedbg/db_disasm.c
+1
-1
info.c
programs/winedbg/info.c
+1
-1
tgt_active.c
programs/winedbg/tgt_active.c
+1
-1
No files found.
programs/winedbg/be_i386.c
View file @
2a64e751
...
@@ -770,8 +770,7 @@ static BOOL be_i386_remove_Xpoint(HANDLE hProcess, const struct be_process_io* p
...
@@ -770,8 +770,7 @@ static BOOL be_i386_remove_Xpoint(HANDLE hProcess, const struct be_process_io* p
if
(
size
!=
0
)
return
FALSE
;
if
(
size
!=
0
)
return
FALSE
;
if
(
!
pio
->
read
(
hProcess
,
addr
,
&
ch
,
1
,
&
sz
)
||
sz
!=
1
)
return
FALSE
;
if
(
!
pio
->
read
(
hProcess
,
addr
,
&
ch
,
1
,
&
sz
)
||
sz
!=
1
)
return
FALSE
;
if
(
ch
!=
(
unsigned
char
)
0xCC
)
if
(
ch
!=
(
unsigned
char
)
0xCC
)
WINE_FIXME
(
"Cannot get back %02x instead of 0xCC at %08lx
\n
"
,
WINE_FIXME
(
"Cannot get back %02x instead of 0xCC at %p
\n
"
,
ch
,
addr
);
ch
,
(
unsigned
long
)
addr
);
ch
=
(
unsigned
char
)
val
;
ch
=
(
unsigned
char
)
val
;
if
(
!
pio
->
write
(
hProcess
,
addr
,
&
ch
,
1
,
&
sz
)
||
sz
!=
1
)
return
FALSE
;
if
(
!
pio
->
write
(
hProcess
,
addr
,
&
ch
,
1
,
&
sz
)
||
sz
!=
1
)
return
FALSE
;
break
;
break
;
...
...
programs/winedbg/db_disasm.c
View file @
2a64e751
...
@@ -1230,7 +1230,7 @@ static void db_print_address(const char *seg, int size, struct i_addr *addrp, in
...
@@ -1230,7 +1230,7 @@ static void db_print_address(const char *seg, int size, struct i_addr *addrp, in
}
else
if
(
!
dbg_read_memory
(
a1
,
&
a2
,
sizeof
(
a2
)))
{
}
else
if
(
!
dbg_read_memory
(
a1
,
&
a2
,
sizeof
(
a2
)))
{
dbg_printf
(
"(invalid destination)"
);
dbg_printf
(
"(invalid destination)"
);
}
else
{
}
else
{
db_task_printsym
((
unsigned
long
)
a1
,
0
);
db_task_printsym
((
ULONG_PTR
)
a1
,
0
);
}
}
}
}
else
else
...
...
programs/winedbg/info.c
View file @
2a64e751
...
@@ -984,7 +984,7 @@ void info_win32_exception(void)
...
@@ -984,7 +984,7 @@ void info_win32_exception(void)
dbg_printf
(
" in 16-bit code (%04x:%04x)"
,
addr
.
Segment
,
(
unsigned
)
addr
.
Offset
);
dbg_printf
(
" in 16-bit code (%04x:%04x)"
,
addr
.
Segment
,
(
unsigned
)
addr
.
Offset
);
break
;
break
;
case
AddrMode1632
:
case
AddrMode1632
:
dbg_printf
(
" in segmented 32-bit code (%04x:%08
lx)"
,
addr
.
Segment
,
(
unsigned
long
)
addr
.
Offset
);
dbg_printf
(
" in segmented 32-bit code (%04x:%08
x)"
,
addr
.
Segment
,
(
unsigned
)
addr
.
Offset
);
break
;
break
;
default:
dbg_printf
(
" bad address"
);
default:
dbg_printf
(
" bad address"
);
}
}
...
...
programs/winedbg/tgt_active.c
View file @
2a64e751
...
@@ -301,7 +301,7 @@ static void fetch_module_name(void* name_addr, BOOL unicode, void* mod_addr,
...
@@ -301,7 +301,7 @@ static void fetch_module_name(void* name_addr, BOOL unicode, void* mod_addr,
snprintfW
(
buffer
,
bufsz
,
pcspid
,
dbg_curr_pid
);
snprintfW
(
buffer
,
bufsz
,
pcspid
,
dbg_curr_pid
);
}
}
else
else
snprintfW
(
buffer
,
bufsz
,
dlladdr
,
(
unsigned
long
)
mod_addr
);
snprintfW
(
buffer
,
bufsz
,
dlladdr
,
(
ULONG_PTR
)
mod_addr
);
}
}
}
}
...
...
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