gdb question

Ghirai ghirai at ghirai.com
Sun Sep 23 03:08:28 PDT 2007


On Sun, 23 Sep 2007 11:59:14 +0400
Dmitry Gorbik <e at 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.


More information about the freebsd-questions mailing list