mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 02:48:20 +00:00
winedbg: Fix crash when no process attached in 'info wnd' command.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49625 Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fcda0afdd4
commit
5d8bad570d
|
@ -39,7 +39,7 @@
|
|||
#include "oaidl.h"
|
||||
#include <wine/list.h>
|
||||
|
||||
#define ADDRSIZE (dbg_curr_process->be_cpu->pointer_size)
|
||||
#define ADDRSIZE (dbg_curr_process ? dbg_curr_process->be_cpu->pointer_size : (int)sizeof(void*))
|
||||
#define ADDRWIDTH (ADDRSIZE * 2)
|
||||
|
||||
/* the debugger uses these exceptions for its internal use */
|
||||
|
|
Loading…
Reference in a new issue