CVS: winex/programs/winedbg stack.c,1.1.1.1,1.2
[email protected] 12 Sep 2007 12:32:02 -0000
| Newsgroups | gmane.comp.emulators.winex.cvs |
|---|---|
| Message-ID | <[email protected]> |
Subject: winex/programs/winedbg stack.c,1.1.1.1,1.2Update of /var/lib/cvsd/cvsroot/winex/programs/winedbg
In directory agravaine:/tmp/cvs-serv11000/programs/winedbg
Modified Files:
stack.c
Log Message:
- changed TEB::cur_stack to TEB::WOW32Reserved. WOW32Reserved is now at offset 0xC0 (cur_stack was at 0x70). The old cur_stack has been renamed to 'unknown70'.
Index: stack.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/programs/winedbg/stack.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- stack.c 17 Feb 2003 02:47:51 -0000 1.1.1.1
+++ stack.c 12 Sep 2007 12:32:00 -0000 1.2
@@ -273,9 +273,9 @@
/* cur_switch holds address of curr_stack's field in TEB in debuggee
* address space
*/
- cur_switch = (DWORD)thread->teb + OFFSET_OF(TEB, cur_stack);
+ cur_switch = (DWORD)thread->teb + OFFSET_OF(TEB, WOW32Reserved);
if (!DEBUG_READ_MEM((void*)cur_switch, &next_switch, sizeof(next_switch))) {
- if (noisy) DEBUG_Printf( DBG_CHN_MESG, "Can't read TEB:cur_stack\n");
+ if (noisy) DEBUG_Printf( DBG_CHN_MESG, "Can't read TEB:WOW32Reserved\n");
return;
}