摘要
近年来,众核处理器技术飞速发展,而面向该体系架构的软件调试技术相对滞后。针对众核平台上软件调试的特点,提出了一种一对多的软件调试模型,基于开源调试器gdb,设计了指令移位断点算法。该设计克服了硬件断点数量的限制,提升了异常定位的精确度,改善了软件调试器的易用性。最后通过实例对采用该设计的软件调试器进行了验证。结果表明,该设计能够有效解决众核程序的调试问题,提高软件调试器的执行效率,帮助程序员快速定位软件错误。
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 accura- cy 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 im prove the execution efficiency of software debugger.
出处
《计算机工程与科学》
CSCD
北大核心
2014年第10期1854-1859,共6页
Computer Engineering & Science
基金
国家863计划资助项目(2012AA010901)
关键词
众核
调试
断点移位
many-core
debug
displaced breakpoint