I once had the Eclipse CDT being able to display an ELF file in "human readable" (i.e. displaying all headers) format. But now I do not know anymore how to achieve this.
What I would like to have is the output of "objdump -x <Elf-File>" to be displayed in an "edit view" (i.e. in the same place I see my source files when I double click on one of them), when I double click my Elf file in the "Project Explorer".
Using the "External Tools Configuration" I can displayed the wanted output in a Console View - but having it in the "edit" view is much more convenient.
Any ideas?
Regards
Philipp
P.S.: I'm working under Ubuntu 12.04 with Eclipse Indigo and CDT 8.0.2.
P.P.S.: I do not know the official name for the view displaying for example source files. Therefore I use the naming "edit view" in this post.
In short:
Yes - I have been searching in the Forum before posting the question.
No - I do not mean the "Executables View" in Debug Perspective.
It really looked like output of objdump but displayed in the "Editor View". The main difference to when I output this to "Console View" was that it displayed all lines of objdump and I just could double click the elf file to open this data.
Googling for "eclipse objdump editor" (sorry, this forum does not allow me to add a link to the found site) I can see that this kind of "Edit View" exists. But I still do not know where I can get this plugin.
* A readonly editor to view binary files. This default implementation displays
* the GNU objdump output of the binary as plain text. If no objdump output can be
* obtained, the binary content is displayed.
I have now a version that is fine for me by just adding a post-build step in my project which calls objdump (in my case arm-eabi-objdump) to generate a file with the output I need from time to time.
My post-build command then looks like this:
arm-eabi-objdump -C -x -S ${PWD}/${ProjName} >${PWD}/${ProjName}.objdump
Then I can double-Click on the generated *.objdump file to view the wanted output in an "edit view".