Date: Mon, 17 May 1999 09:19:05 +1200 (NZST) From: Jonathan Chen <jonc@pinnacle.co.nz> To: Ugo Matrangolo <gimatra@tin.it> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: newbie : gdb and 386's machine code Message-ID: <Pine.SC5.4.10.9905170912110.10179-100000@kiwi.pinnacle.co.nz> In-Reply-To: <373EB204.BD1DE491@tin.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 16 May 1999, Ugo Matrangolo wrote:
[..]
> After compiling this with nasm & gcc ,it runs fine . Now , what if
> i want to debug the asm code instruction by instruction ?
What you need to do is to get nasm (which I'm unfamiliar with) to
generate debugging information; which can then be used by gdb.
An alternative would be to write your assembler code using gcc to
compile it, so that you get the benefits of gcc's debug-info generation.
Jonathan Chen
---------------------------------------------------------------------
Who dares nothing, need hope for nothing
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SC5.4.10.9905170912110.10179-100000>
