- Synchronize up to trunk's revision r57864.
[reactos.git] / dll / win32 / dbghelp / dbghelp_ros.diff
1 Index: stabs.c
2 ===================================================================
3 --- stabs.c (revision 35085)
4 +++ stabs.c (working copy)
5 @@ -64,6 +64,8 @@
6
7 WINE_DEFAULT_DEBUG_CHANNEL(dbghelp_stabs);
8
9 +#define strtoull _strtoui64
10 +
11 /* Masks for n_type field */
12 #ifndef N_STAB
13 #define N_STAB 0xe0
14 Index: cpu_sparc.c
15 ===================================================================
16 --- cpu_sparc.c (revision 35085)
17 +++ cpu_sparc.c (working copy)
18 @@ -29,6 +29,8 @@
19
20 WINE_DEFAULT_DEBUG_CHANNEL(dbghelp);
21
22 +#define IMAGE_FILE_MACHINE_SPARC 0x2000
23 +
24 static unsigned sparc_get_addr(HANDLE hThread, const CONTEXT* ctx,
25 enum cpu_addr ca, ADDRESS64* addr)
26 {
27 Index: cpu_x86_64.c
28 ===================================================================
29 --- cpu_x86_64.c (Revision 56237)
30 +++ cpu_x86_64.c (Arbeitskopie)
31 @@ -281,10 +281,10 @@
32 if ((op0 & 0xf8) == 0x48)
33 {
34 if (!sw_read_mem(csw, pc + 1, &op1, 1)) return FALSE;
35 + if (!sw_read_mem(csw, pc + 2, &op2, 1)) return FALSE;
36 switch (op1)
37 {
38 case 0x81: /* add $nnnn,%rsp */
39 - if (!sw_read_mem(csw, pc + 2, &op2, 1)) return FALSE;
40 if (op0 == 0x48 && op2 == 0xc4)
41 {
42 pc += 7;