Add a README.txt file
authorAntonio Ospite <ospite@studenti.unina.it>
Fri, 8 Nov 2013 16:30:25 +0000 (17:30 +0100)
committerAntonio Ospite <ospite@studenti.unina.it>
Fri, 8 Nov 2013 16:30:25 +0000 (17:30 +0100)
README.txt

index 134c8ec..3ba4a49 100644 (file)
@@ -3,3 +3,13 @@ Some references:
 http://ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html
 http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Extended-Asm.html
 http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Constraints.html
+
+
+Debugging assembly code with gdb:
+
+gdb ./inline-asm-SIMD-sum
+(gdb) break sum
+(gdb) run
+(gdb) display/i $pc
+(gdb) stepi
+(gdb) stepi