首页 | 本学科首页   官方微博 | 高级检索  
     

一种具有快速条件断点的并行程序调试器
引用本文:刘建,王皓,沈美明,郑纬民.一种具有快速条件断点的并行程序调试器[J].软件学报,2003,14(11):1827-1833.
作者姓名:刘建  王皓  沈美明  郑纬民
作者单位:清华大学,计算机科学与技术系,高性能计算技术研究所,北京,100084
基金项目:Supported by the National Natural Science Foundation of China under Grant No.69933020 (国家自然科学基金)
摘    要:快速条件断点是高性能并行程序调试器中进程控制必备的功能之一.分析了快速条件断点基本原理以及快速条件断点设计中需要考虑的代码生成、代码插装和源程序对应等问题.并针对上述问题,提出了预编译与运行时编译结合的代码生成方式、动态代码插装、源断点标识技术等解决方案.利用经过改进的动态补丁码工具Dyninst,设计实现了并行程序调试器XBUSTER,并实现了快速条件断点这一重要功能.测试表明,XBUSTER的执行效率比传统条件断点高.与现有的基于动态插装的系统,如Ceder,ldb和Dyner相比,XBUSTER具有功能性强、可移植性好等鲜明特点.

关 键 词:调试器  条件断点  动态插装  动态补丁码
收稿时间:2002/9/25 0:00:00
修稿时间:2002年9月25日

A Parallel Debugger with Fast Conditional Breakpoint
LIU Jian,WANG Hao,SHEN Mei-Ming and ZHENG Wei-Min.A Parallel Debugger with Fast Conditional Breakpoint[J].Journal of Software,2003,14(11):1827-1833.
Authors:LIU Jian  WANG Hao  SHEN Mei-Ming and ZHENG Wei-Min
Abstract:A fast conditional breakpoint is considered to be an essential process control capability of advanced high-performance parallel debuggers. In this paper, the fundamental principles for finding and implementing fast conditional breakpoints are introduced and the design problems associated with their implementations such as code generation, code instrumentation and source program mapping are discussed. Dynamic code instrumentation, combined with hybrid code generation and source breakpoint identification, provides a well-suited solution to those problems. Using an enhanced version of the Dyninst run-time code patching library, a fast conditional breakpoint in a parallel debugger, XBUSTER, is implemented. Compared with GDB experimental results show that XBUSTER can debug a program with a higher efficiency. Compared with other fast conditional breakpoint implementations based on dynamic instrumentation technique, XBUSTER is more portable and functional.
Keywords:debugger  conditional breakpoint  dynamic instrumentation  run-time code patching
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号