%@]$*$* Intel and their %@]$*$* stupid braindead assembler mnemonics!
It's not that I'm incompetent. Honest.
Fix bug causing GDB attach (detach) to crash system on multithreaded
programs. This bug has been in Valgrind all along.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@114 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg_startup.S b/vg_startup.S
index 485abee..5616421 100644
--- a/vg_startup.S
+++ b/vg_startup.S
@@ -184,9 +184,9 @@
/*--- This is clearly not re-entrant! ---*/
.data
vg_ebp_saved_over_GDB_start:
- .word 0
+ .long 0
vg_esp_saved_over_GDB_start:
- .word 0
+ .long 0
.text
.global VG_(swizzle_esp_then_start_GDB)
@@ -202,7 +202,7 @@
movl 40(%esp), %ebx # client %ESP
movl 36(%esp), %ecx # client %EIP
- # Now thatn we dont need to refer to simulators stack any more,
+ # Now that we dont need to refer to simulators stack any more,
# put %ESP into %esp
movl %ebx, %esp