How to log instructions with GDB

Mahmood Naderan via Gdb <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CADa2P2UatZFUA8pvbAY7bmTKC5SiR7wDX-VJg8J8tvCiiP2hQA@mail.gmail.com>
Hi,
I would like to know if GDB has a mechanism to trace the execution
instructions while debugging.
I am looking for a way to write the executed instructions (similar to the
disassembly format) in a file.

Regards,
Mahmood
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.