instruction trace file

Andrew Cagney ac131313@cygnus.com
Sat Apr 1 00:00:00 GMT 2000


Maurizio Palesi wrote:
> 
> Hi all,
>     Is there a method to generate an instruction by instruction
> execution trace file of a program? From an executable file i wish to
> obtain an instruction trace file with following information:
> - address where instruction was fetched
> - instruction name
> - if memory access: address and data
> Thanks to all,
>     Maurizio

Using one of GDB's simulators then probably yes.
Using gdb and a normal target probably not (it would manage the insn
address/name but not the memory accesses).

	enjoy,
		Andrew


More information about the Gdb-patches mailing list