unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* displaying c- and assembler-code combined
@ 2006-12-04 10:20 Martin
  0 siblings, 0 replies; only message in thread
From: Martin @ 2006-12-04 10:20 UTC (permalink / raw)


Hi,

I was wondering if there is anybody that has been using emacs to
display c-code in one window and the generated assembler-code in a
second emacs-window?

I was thinking about using the ouput of "objdump --disassemble main.o"
to display my c-code main.c alongside the generated object-code. On top
I would like to calculate the object code size for each function and
display this too. This way I could see how efficient my coding is (in
terms of object code size) and would see which parts of my code
generate huge sized blocks.

Anybody thought about something like this or has already done it?

Thanks in advance

Martin

P.S.: I _do_ know that this does not work "on-the-fly" as the object
code first has to be generated. But if I want to review my code this is
not a problem since I am not longer writing code, but just reviewing
it.
If there was an emacs-module for this, I would anyway suggest it to
display a read-only buffer.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-04 10:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-04 10:20 displaying c- and assembler-code combined Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).