list file from C source

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

list file from C source

ソリューションへジャンプ
2,363件の閲覧回数
csosza
Contributor I

Hi,

 

How could I generate a list file from C project which at least relatively reflects the flash rom addresses (with source lines if possible)?

 

(1) When I enable "Generate listing file"in the standard settings, I got an lst file but each function starts from 0000 address.

(2) I tried the decode.exe utility, but I got a pure disassembled view (without source lines).

ラベル(1)
タグ(1)
0 件の賞賛
返信
1 解決策
1,328件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee

What did you disassemble with the decoder?

 

Use the decoder.exe and disassemble the *.elf file. This should create what you are looking for if the elf file contains debug information.

 

Daniel

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,329件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee

What did you disassemble with the decoder?

 

Use the decoder.exe and disassemble the *.elf file. This should create what you are looking for if the elf file contains debug information.

 

Daniel

0 件の賞賛
返信
1,328件の閲覧回数
csosza
Contributor I
How could I generate *.elf file? I have now *.o files.
0 件の賞賛
返信
1,328件の閲覧回数
CompilerGuru
NXP Employee
NXP Employee

Probably the ELF file has the extension *.abs, sorry for the confision. ELF is the file format, the tools are using abs as the default extension for those files.

 

Daniel