From: Julian Seward Date: Sun, 21 Apr 2002 20:26:06 +0000 (+0000) Subject: %@]$*$* Intel and their %@]$*$* stupid braindead assembler mnemonics! X-Git-Tag: svn/VALGRIND_1_0_3~337 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d18444546c1ef61c865a1205365b10f2de33e7ac;p=thirdparty%2Fvalgrind.git %@]$*$* 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 --- diff --git a/coregrind/vg_startup.S b/coregrind/vg_startup.S index 485abee85f..561642196b 100644 --- a/coregrind/vg_startup.S +++ b/coregrind/vg_startup.S @@ -184,9 +184,9 @@ extern void VG_(swizzle_esp_then_start_GDB) ( Addr m_eip_at_error, /*--- 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 @@ 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 diff --git a/vg_startup.S b/vg_startup.S index 485abee85f..561642196b 100644 --- a/vg_startup.S +++ b/vg_startup.S @@ -184,9 +184,9 @@ extern void VG_(swizzle_esp_then_start_GDB) ( Addr m_eip_at_error, /*--- 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 @@ 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