• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2014, Vol. 36 ›› Issue (10): 1854-1859.

• 论文 • Previous Articles     Next Articles

A software debugger for general many-core processors         

WANG Jingyu,FAN Hao   

  1. (Jiangnan Institute of Computing Technology,Wuxi 214083,China)
  • Received:2014-06-10 Revised:2014-08-25 Online:2014-10-25 Published:2014-10-25

Abstract:

Recently, the many-core processor technology has been rapidly developed, but the software debugging for such architecture is underdeveloped. According to the characteristics of software debugging for many-core processors, the debugging model of onetomany mapping is proposed. Using this model, we configure the open source debugger gdb and design a breakpoint algorithm based on displaced instruction. The design overcomes the limitations on hardware breakpoint number, improves the accuracy of abnormal localization and makes the improved gdb more efficiently and effectively on many-core processors. Finally, experiments are carried out by a debugging example, and results show that the debugging model and algorithm are helpful to solve the problem of debugging many-core programs and improve the execution efficiency of software debugger.

Key words: many-core;debug;displaced breakpoint