ELF-library debug information missing

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ELF-library debug information missing

905 Views
ClausJensen
Contributor I

Hi

 

I have a library, which is built with CodeWarrior for ColdFire v6.3, which I am using in CodeWarrior for ColdFire v7.2. Processor is an MCF52223.

 

The code works fine, but I have no debug information for the functions in the library file. When building the library in CW6.3, there are small dots under the bug in the file-pane, so i guess that should indicate that debug-information will be generated. Also, the ELF-file is 229K in size for less than 8K of code, indicating that there might be information.

 

In CW7.2 i have the lib-file included. Here I am not able to set a dot under the bug for the library-file.

 

Can anyone help me get debug info included for my library file in this project? Hopefully I am just missing some obvious setting (obvious to others than me, that is... :smileywink: )

 

Claus

Labels (1)
0 Kudos
3 Replies

445 Views
CrasyCat
Specialist III

Hello

 

In fact you need to rebuild the library with debug info.

 

There is a .mcp file in directory {Install}\ColdFire_Support\ewl\EWL_C or {Install}\ColdFire_Support\ewl\EWL_Runtime depending if you want to rebuild run time library or ANSI C library.

 

Open the appropriate .mcp file in the IDE. Then select the appropriate build target and click in the column with the green dot for each folder in the project, which is part of the build (i.e where there is a dot in the column with the red target).

 

Rebuild the library and you should be able to set BP and step in your libraries.

 

CrasyCat

0 Kudos

445 Views
ClausJensen
Contributor I

Hello

 

I need to build the library in CW6.3, and I do not see these directories or files in the install-directory for CW6.3 - they exist in CW7.2.

 

How do I add debug-info to the library in CW6.3?

 

Claus

0 Kudos

445 Views
CrasyCat
Specialist III

 

Hello

 

the .mcp files can be found in {Install}\ColdFire_Support\msl\MSL_C\MSL_ColdFire\Project and

{Install}\ColdFire_Support\Runtime\Runtime_ColdFire\Projects

 

CrasyCat

0 Kudos