From 74cf2a428fabb68f49ea1eb15df96ae898765fc5 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 8 Nov 2013 17:30:25 +0100 Subject: [PATCH 1/1] Add a README.txt file --- README.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.txt b/README.txt index 134c8ec..3ba4a49 100644 --- a/README.txt +++ b/README.txt @@ -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 -- 2.1.4