S32 DS for Power v1.1 disassembly

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32 DS for Power v1.1 disassembly

跳至解决方案
2,459 次查看
hrvojeerjavec
Contributor III

Hello,

I am using MPC5744P for development, and I would like to use the disassembly while debugging.

Problem is that I am having unknown instructions in the disassembly: pastedImage_1.png

It seems it is expecting power instructions, while the actual ones are powerPC. I use powerpc-eabivle-objdump.exe from console to disassemble the code manually, and it works great, but I would like to have it integrated in the S32.

Going through settings I tried to set the path to the right objdump executable, but according to settings it seems the right executable is already used. Eclipse variables might be different than expected and I don't know if I can check how they look like.

According to the project settings in these pictures: 

pastedImage_4.png

pastedImage_8.png

This configuration should call powerpc-eabivle-objdump which is unique executable in the whole freescale folder, and I checked that the folder containing the executable is included in the environment PATH variable:

pastedImage_9.png

Any ideas?

标签 (1)
0 项奖励
回复
1 解答
2,173 次查看
stanish
NXP Employee
NXP Employee

Hi,

You probably refer to the Disassembly View visible during a debug session.

Could you check if your debug configuration includes "set architecture powerpc:vle" in GDB run commands box?

This should switch the debugger into VLE mode.

pastedImage_1.png

Stan

在原帖中查看解决方案

2 回复数
2,174 次查看
stanish
NXP Employee
NXP Employee

Hi,

You probably refer to the Disassembly View visible during a debug session.

Could you check if your debug configuration includes "set architecture powerpc:vle" in GDB run commands box?

This should switch the debugger into VLE mode.

pastedImage_1.png

Stan

2,173 次查看
hrvojeerjavec
Contributor III

Yes, I referred to the Disassembly View.

Adding the option did the trick,

Thank you

0 项奖励
回复