How to display position independent code(PIC) symbols in Code Warrior IDE 10.0.9?

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

How to display position independent code(PIC) symbols in Code Warrior IDE 10.0.9?

ソリューションへジャンプ
1,682件の閲覧回数
janmejayjoshi
Contributor I

I am trying to debug position independent source code(PIC) in Code Warrior IDE. But I am not able see symbols for the same in command window, but I'm able to see disassembly.

 

Can anyone help me in this?
Is there any Code Warrior configuration required for this?

Thanks in advance.

ラベル(1)
0 件の賞賛
返信
1 解決策
1,393件の閲覧回数
addiyi
NXP Employee
NXP Employee

For your case, you need to calculate correctly the PIC. Take a look on Chapter 8, from https://community.nxp.com/docs/DOC-333745 .

Adrian

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,393件の閲覧回数
addiyi
NXP Employee
NXP Employee

The command for handling PIC is setpicloadaddr, indicaticating where a PIC executable is loaded.

Adrian

0 件の賞賛
返信
1,393件の閲覧回数
janmejayjoshi
Contributor I

addiyi‌: I have already tried with this command, but it is not much useful to me.
I am able see source code for my static binaries while debugging on CW.
I want to achieve same for the PIC enabled shared libraries. "setpic" command will tell debugger that PIC enabled code is at <addr> address, so that it can be debugged from there.

I want to iterate line by line in my source with debugging for PIC binary, just like we can see static binaries' code.

All my source is already attached with loaded project.

0 件の賞賛
返信
1,394件の閲覧回数
addiyi
NXP Employee
NXP Employee

For your case, you need to calculate correctly the PIC. Take a look on Chapter 8, from https://community.nxp.com/docs/DOC-333745 .

Adrian

0 件の賞賛
返信
1,393件の閲覧回数
janmejayjoshi
Contributor I

Thanks addiyi, it worked for me, after some tweaking with the command for specific address.

0 件の賞賛
返信