printing MMX variables

Shadi el-Hajj shadi@telefonica.net
Sun Jul 11 13:12:00 GMT 2004


hello,

a thousand apologies if this is way too obvious and/or has been asked 
many times ( i just can't find in the archives ). i am trying to debug 
some mmx code in which i have declared:
__m64 foovector;
i use foovector to store 8 8bit integers(chars). now when i ask for:
print foovector
i get:  { 1073836052, 1}. obviously gdb is interpreting my chars as 
32bit ints. how can i tell him i just want chars ? i tried a thousand 
casts like (v8qi etc...) but gdb answers "No symbol in current 
context".
i am using version 6.1 on linux-x86(debian testing)

thanks in advance,
shadi



More information about the Gdb mailing list