Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT Disassembly View
CDT Disassembly View [message #190917] Tue, 08 May 2007 11:37 Go to next message
Eclipse UserFriend
Originally posted by: jonathan.orditz.selectron.ch

Hi,

A disassembly view is provided by the CDT. But only the actual "module"
where the debugger is can be seen. Is it possible to see a disassembly
view for all the c-files in the project and in the libraries added to the
project (if sources are available of course...) ?

Because I want to go to adress 0x402ffe where I have a problem but I found
nothing (Context Menu, ....) to "jump" to this adress and I do not know
what code is located at this address.

Or do someone know if the GCC compiler can output a "list" file ? (in
order to know what module is located on my address). I found nothing in
the documentation of GCC...

Many thanks in advance...

Jonathan
Re: CDT Disassembly View [message #190957 is a reply to message #190917] Wed, 09 May 2007 12:23 Go to previous messageGo to next message
Sanchali is currently offline SanchaliFriend
Messages: 8
Registered: July 2009
Junior Member
Hi Jonathan,

I do not know much detail about the Disassembly view in Eclipse.
But if you want to traverse to the required memory location you can do it
by generating the .lst files by giving the -a=filename while compiling the
program.You can turn on listings, in any of a variety of ways (-ac omit
false conditionals ,-ad omit debugging directives ,-ah include high-level
source ,-al include assembly etc ... ) .
Second method is by generating the Map file for your project by giving
-M=mapfilename while compiling the program.

Regards
-Sanchali
Re: CDT Disassembly View [message #190965 is a reply to message #190957] Wed, 09 May 2007 16:55 Go to previous messageGo to next message
Arek Karas is currently offline Arek KarasFriend
Messages: 2
Registered: July 2009
Junior Member
Sanchali pisze:
> Hi Jonathan,
> Second method is by generating the Map file for your project by giving
> -M=mapfilename while compiling the program.
You can make disassemble object file with this:
objdump -h -S -C output.elf > output.txt

Best Regards
AK
Re: CDT Disassembly View [message #1033370 is a reply to message #190917] Thu, 04 April 2013 07:06 Go to previous message
Radhika Putty is currently offline Radhika PuttyFriend
Messages: 1
Registered: April 2013
Junior Member
I am also having a similar problem where in i need to jump to code based on address location in eclipse. Are you able to figure out how this can be done.

Regards
Radhika
Previous Topic:disabling cdt code analysis programmatically
Next Topic:Workspace project reference not linked
Goto Forum:
  


Current Time: Sun Oct 13 07:30:54 GMT 2024

Powered by FUDForum. Page generated in 0.04282 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top