tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Porting Corosync/Pacemaker - Help needed with gdb



On Wed, Dec 05, 2012 at 02:21:51PM +0100, Stephan wrote:
> Hi Manuel,
> 
> thanks, that makes sense. The failing instruction is this one
> 
> => 0x7f7ff68078e9 <pthread_mutex_lock+9>:       mov    0x10(%rax),%rdx
> 
> with rax containing a pointer to 0x7f7ffffffffe
> 
> I wonder how many bytes will be written to memory - my imagination is 8
> bytes as this is a 64bit processor.

No, with mov this will be 4 bytes (an int). For a movl would do a 8 bytes
write.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index