nasm怎么调试

nasm如何调试
讨教nasm的两个问题:
1、在windows下,nasm可以运行debug,然后就可以进行调试了;那么在linux下,有没有类似的功能?
2、当然,nasm汇编可以用gdb调试。我要问的是:怎么根据寄存器内容查看内存信息?或者说,根据寄存器信息查找到对应的内存。比如,cs内容是0x73,eip内容是0x8048084,是不是es*16+eip?

先谢过
调试 nasm

------解决方案--------------------
linux下用gdb
------解决方案--------------------
hopy@hopy-book:~/src/c_src$ gdb ccon
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/hopy/src/c_src/ccon...(no debugging symbols found)...done.
(gdb) list