Mail Archives: djgpp/1998/02/21/09:45:55
Calvin French wrote in message <34e51916 DOT 0 AT news DOT cadvision DOT com>...
>Okay, I'm having problems debugging some nasm code.
Good luck :)
> I have the most recent NASM, I think
I have 0.97. Don't know if its the latest.
> and it appears that debug info is turned out.
Thats not possible. Even if you have my own hacked version of nasm (which
accepts debug directives
and discards them), you don't get debug info. Simon probably won't get to
this until summer. I might get it working sooner if I really need it.
Don't know though. Tips for debugging nasm code.
Use plain old gdb.
Use 'si' and 'ni' for single stepping instructions.
Use 'info reg' or 'p $reg' to print registers
Use 'display/i $eip' to get a one line moving disassembly.
Andy
- Raw text -