gdb on linux on M54455EVB: illegal instruction

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

gdb on linux on M54455EVB: illegal instruction

1,710 次查看
JimDouglas
Contributor I
I cannot get gdb to work on an M54455EVB unit, running the Freescale Linux BSP.  It starts ok, and it disassembles the binary ok, but any attempt to run the program results in an Illegal instruction. 
 
Has anyone had any success with gdb?
 
 
标签 (1)
0 项奖励
回复
3 回复数

687 次查看
jon
Contributor I

I get the same thing, even with the simplest program. Get illegal instruction from _dl_debug_state.

 

0 项奖励
回复

687 次查看
jkmahan
Contributor III

It would help to know what bsp/kernel you are using.

 

Assuming you're using 2.6.25 this patch might help.

 

--Kurt

0 项奖励
回复

687 次查看
jon
Contributor I

Thanks for that Kurt. I'm using the BSP from this website dated 12/14/2007 and the update dated 08/08/2008. What is the status of the patch? Presumably it is not an official Freescale one? Is there some other source I should be checking for patches?

 

Could you explain how to install the patch? The only LTIB documentation I can find on patches is about how to make one, not how to install one. Tried sticking the file in various places that contained other patch files but didnt have any effect and there doesn't seem to be any LTIB commands for installing patches.

 

Thanks.

Jon. 

0 项奖励
回复