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>
(cherry picked from commit 5d8bad570d
)
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
This commit is contained in:
parent
f0143c1bc9
commit
26c739a4fe
|
@ -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 New Issue