检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中国电子科技集团公司第三十八研究所,安徽合肥230088
出 处:《中国集成电路》2015年第8期41-49,共9页China lntegrated Circuit
摘 要:变量查看是C语言调试系统的基本功能之一。实现C语言简单变量查看功能很容易,但实现C语言任意复杂变量查看的功能却并不容易。实现该功能的难点在于得到复杂变量各内部元素的地址和大小等信息。要实现该功能,必须分析被调试文件中的调试信息,从中得到复杂变量各元素的调试信息。本文介绍了BWDSP芯片配套的调试系统中C语言复杂变量查看功能实现方案。该方案使用字符串协议描述复杂变量的元素,并使用统一的数据结构存储被调试文件的调试信息。该方案可以实现C语言任意复杂变量的任意元素的查看及修改功能。Variable display is a basic function of C language debugger. It is easy to implement simple variable display functionality; however, it is difficult to achieve this for complex variable. The difficulty lies in describing elements of complex variable and locating address of the elements. To achieve this, a debugger must analyze debugging informa- tion of the application, and extract debugging information of the elements. The paper introduces solution for the prob- lem in debugger system of BWDSP. The solution defines a string representation protocol for elements in complex vari- able. The solution uses uniform data structure to store debugging information. The solution successfully implements display functionality for any complex variable
关 键 词:调试 调试信息 DWARF格式 魂芯 C语言 变量
分 类 号:TP312.1[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.229