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
/*--- 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)
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
/*--- 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)
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