debugging assembler instructions

Romain Guilleret
2003-01-29T08:10:30Z

Hi,

I've written assembler code using __asm__. The code does not work as
expected and I would like to debug it.

Is it possible to do so using GDB ? Ideally, I would like gdb to stop
after every assembler instruction so that I can inspect memory or
registers to find what's wrong.

Is it possible to do so using GDB ?
If not, does anybody know another tool that could do it ?

I'm using GDB 5.2 on a Debian woody system.

TIA

Romain Guilleret