winedbg: Fix buffer size for 8-byte watchpoint.

This commit is contained in:
Eric Pouech 2010-04-12 21:18:05 +02:00 committed by Alexandre Julliard
parent fcd33d6877
commit a1986b20e7
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ static int init_xpoint(int type, const ADDRESS64* addr)
*/
static BOOL get_watched_value(int num, DWORD64* val)
{
BYTE buf[4];
DWORD64 buf[1];
if (!dbg_read_memory(memory_to_linear_addr(&dbg_curr_process->bp[num].addr),
buf, dbg_curr_process->bp[num].w.len + 1))