Step Into Function when functions are different memory areas (LPCXPresso IDE)

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

Step Into Function when functions are different memory areas (LPCXPresso IDE)

790 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by ajones on Wed Dec 11 05:01:22 MST 2013
I am using the LPCXPresso IDE.

I have code that is configured to execute from internal SRAM and external SDRAM.

The linker places a __FunctionName_veneer function to handle the large address offset required by the function being in different memory areas.

The debugger won't step into the veneer function when debugging at the C code level - it will do it when I instruction step in the Disassembler Window.

I presume the problem is that the veneer function has no debug information and hence debugger chooses to step over rather than step into.

Any ideas on convincing the debugger to perform a step into the function in this situation?

Regards,
Adrian
标签 (1)
0 项奖励
回复
1 回复

768 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Wed Dec 11 07:38:16 MST 2013
I'm sorry, but I do not know of any way around this restriction. To step through stubs/veneers you have to single-step the assembler.

We will raise this issue with the ld maintainers.
0 项奖励
回复