Debug skyeye arm_hello code in Eclipse

Debug arm_hello code in Eclipse

steps: Step1:Make sure Eclipse is installed with cdt plugin. Step2:Make a new project in Eclipse, import the skyeye's arm_hello code,and compile it successfully Step3:In Eclipse's arm_hello project,input the command below to start skyeye:

/opt/skyeye/bin/skyeye -e hello

Enter the gdb remote debug mode in skyeye : (skyeye)start

(skyeye)remote-gdb

Screenshot is as below:

Step4:In Eclipse,”Run”->”Debug Configurations...”,Config debugger's setting as below two pictures:

http://farm6.static.flickr.com/5009/5272653317_15ab493ea9.jpg

The communication port is 12345:

http://farm6.static.flickr.com/5206/5272653321_fd63143bb9.jpg

Step5:In Eclipse,”Run”->“Debug History” ,start debug:

http://farm6.static.flickr.com/5090/5272653325_4c2b7183d1.jpg

你可能感兴趣的:(eclipse,debug,休闲,skyeye,arm_)