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
4ce6c90c
Commit
4ce6c90c
authored
Dec 14, 2009
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedbg: Fix some types for homogenous support on 64bit platform.
parent
3ff4d07c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
debugger.h
programs/winedbg/debugger.h
+1
-1
stack.c
programs/winedbg/stack.c
+1
-1
symbol.c
programs/winedbg/symbol.c
+2
-2
tgt_active.c
programs/winedbg/tgt_active.c
+2
-2
No files found.
programs/winedbg/debugger.h
View file @
4ce6c90c
...
...
@@ -397,7 +397,7 @@ extern void symbol_read_symtable(const char* filename, unsigned long
extern
enum
dbg_line_status
symbol_get_function_line_status
(
const
ADDRESS64
*
addr
);
extern
BOOL
symbol_get_line
(
const
char
*
filename
,
const
char
*
func
,
IMAGEHLP_LINE64
*
ret
);
extern
void
symbol_info
(
const
char
*
str
);
extern
void
symbol_print_local
(
const
SYMBOL_INFO
*
sym
,
ULONG
_PTR
base
,
BOOL
detailed
);
extern
void
symbol_print_local
(
const
SYMBOL_INFO
*
sym
,
DWORD
_PTR
base
,
BOOL
detailed
);
extern
int
symbol_info_locals
(
void
);
extern
BOOL
symbol_is_local
(
const
char
*
name
);
struct
sgv_data
;
...
...
programs/winedbg/stack.c
View file @
4ce6c90c
...
...
@@ -124,7 +124,7 @@ BOOL stack_set_frame(int newframe)
ADDRESS64
addr
;
if
(
!
stack_set_frame_internal
(
newframe
))
return
FALSE
;
addr
.
Mode
=
AddrModeFlat
;
addr
.
Offset
=
(
unsigned
long
)
memory_to_linear_addr
(
&
dbg_curr_thread
->
frames
[
dbg_curr_thread
->
curr_frame
].
addr_pc
);
addr
.
Offset
=
(
DWORD_PTR
)
memory_to_linear_addr
(
&
dbg_curr_thread
->
frames
[
dbg_curr_thread
->
curr_frame
].
addr_pc
);
source_list_from_addr
(
&
addr
,
0
);
return
TRUE
;
}
...
...
programs/winedbg/symbol.c
View file @
4ce6c90c
...
...
@@ -648,7 +648,7 @@ BOOL symbol_get_line(const char* filename, const char* name,
* <name>=<value> (local|pmt <where>) in detailed form
* Note <value> can be an error message in case of error
*/
void
symbol_print_local
(
const
SYMBOL_INFO
*
sym
,
ULONG
_PTR
base
,
BOOL
detailed
)
void
symbol_print_local
(
const
SYMBOL_INFO
*
sym
,
DWORD
_PTR
base
,
BOOL
detailed
)
{
struct
dbg_lvalue
lvalue
;
char
buffer
[
64
];
...
...
@@ -682,7 +682,7 @@ static BOOL CALLBACK info_locals_cb(PSYMBOL_INFO sym, ULONG size, PVOID ctx)
types_print_type
(
&
type
,
FALSE
);
dbg_printf
(
" "
);
symbol_print_local
(
sym
,
(
ULONG
_PTR
)
ctx
,
TRUE
);
symbol_print_local
(
sym
,
(
DWORD
_PTR
)
ctx
,
TRUE
);
dbg_printf
(
"
\n
"
);
return
TRUE
;
...
...
programs/winedbg/tgt_active.c
View file @
4ce6c90c
...
...
@@ -616,8 +616,8 @@ static unsigned dbg_handle_debug_event(DEBUG_EVENT* de)
break_set_xpoints
(
TRUE
);
if
(
DBG_IVAR
(
BreakOnDllLoad
))
{
dbg_printf
(
"Stopping on DLL %s loading at
0x%08lx
\n
"
,
dbg_W2A
(
u
.
buffer
,
-
1
),
(
unsigned
long
)
de
->
u
.
LoadDll
.
lpBaseOfDll
);
dbg_printf
(
"Stopping on DLL %s loading at
%p
\n
"
,
dbg_W2A
(
u
.
buffer
,
-
1
),
de
->
u
.
LoadDll
.
lpBaseOfDll
);
if
(
dbg_fetch_context
())
cont
=
0
;
}
break
;
...
...
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