This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: instruction trace file
- To: Maurizio Palesi <mpalesi at sun131 dot iit dot unict dot it>
- Subject: Re: instruction trace file
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Wed, 01 Mar 2000 01:01:32 +1100
- CC: gdb-patches at sourceware dot cygnus dot com
- Organization: Cygnus Solutions
- References: <38BA76BC.62659DF8@sun131.iit.unict.it>
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