Date: Sun, 23 Sep 2007 13:07:57 +0000 From: Ghirai <ghirai@ghirai.com> To: Dmitry Gorbik <e@recolon.ru> Cc: freebsd-questions@freebsd.org Subject: Re: gdb question Message-ID: <20070923130757.71173297.ghirai@ghirai.com> In-Reply-To: <20070923115914.bf06378b.e@recolon.ru> References: <20070923002923.92db3efd.ghirai@ghirai.com> <20070923115914.bf06378b.e@recolon.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 23 Sep 2007 11:59:14 +0400 Dmitry Gorbik <e@recolon.ru> wrote: > You can start gdb session like this: > $gdb program > break main > set disassembly-flavor intel > disassemble main > > Now you can use "nexti" to run program till break & "next" will step one instruction (if there were no debugging symbols". That was tested on a program, compiled with nasm. Thanks for the info :) -- Regards, Ghirai.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070923130757.71173297.ghirai>