Step-by-step execution for Intel AT&T assembler?

Posted by Søren Haagerup on Stack Overflow See other posts from Stack Overflow or by Søren Haagerup
Published on 2010-04-13T17:50:50Z Indexed on 2010/04/13 17:53 UTC
Read the original article Hit count: 399

Filed under:
|
|
|
|

Hello everyone,

I'm writing a compiler that converts source code (written in a small imperative programming language) to Intel AT&T 32-bit assembler.

I tend to spend a lot of time debugging, because of nasty offset-mistakes etc. in the generated code, and I would like to know if anyone knows of a tool to "walk through" the generated assembler code step-by-step, visualizing what's on the stack etc.

I use Ubuntu Linux as my development platform, and I'm comfortable with the terminal -- a GUI-program would be nice though. Does it exist? Or is there a good reason it doesn't (maybe the problem isn't so straightforward..?)

If you have good ideas for approaching debugging tasks in assembly code, I'll be glad to hear from you!

© Stack Overflow or respective owner

Related posts about att

Related posts about intel