Cygwin: profile.c: drop i686 register access
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
		
							parent
							
								
									7f42498be6
								
							
						
					
					
						commit
						20adacdca2
					
				|  | @ -42,10 +42,10 @@ get_thrpc (HANDLE thr) | ||||||
|   ctx.ContextFlags = CONTEXT_CONTROL | CONTEXT_INTEGER; |   ctx.ContextFlags = CONTEXT_CONTROL | CONTEXT_INTEGER; | ||||||
|   pc = (size_t) - 1; |   pc = (size_t) - 1; | ||||||
|   if (GetThreadContext (thr, &ctx)) { |   if (GetThreadContext (thr, &ctx)) { | ||||||
| #ifndef _WIN64 | #ifdef __x86_64__ | ||||||
|     pc = ctx.Eip; |  | ||||||
| #else |  | ||||||
|     pc = ctx.Rip; |     pc = ctx.Rip; | ||||||
|  | #else | ||||||
|  | #error unimplemented for this target | ||||||
| #endif | #endif | ||||||
|   } |   } | ||||||
|   ResumeThread (thr); |   ResumeThread (thr); | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue