This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: Fwd: Decompiler program
> -----Original Message-----
> From: gdb-owner@sourceware.org
> [mailto:gdb-owner@sourceware.org] On Behalf Of Prasanna .S
> Sent: 07 September 2007 14:37
> To: gdb@sourceware.org
> Subject: Re: Fwd: Decompiler program
> More precisely can you trace through instruction by instruction
> emitted by objdump,
> by a objdump/gdb lib combination?
Have you tried the 'disassemble' (also x/i <address>) command in gdb? It
provides disassembly of the current function or of a given range of
addresses. Perhaps this, combined with the nexti / stepi commands, will
allow you to trace execution at assembly level? Turning this into HLL
code using decompilation techniques (via a 'decompile' command) would be
an interesting feature.
My apologies if I have misundertsood what you are asking for.
Robert