-
公开(公告)号:US6119206A
公开(公告)日:2000-09-12
申请号:US680575
申请日:1996-07-12
CPC分类号: G06F11/3612
摘要: Stack tracebacks are performed in debugging and exception handling routines, and involve providing the values of non-volatile registers at the time of entry into each function in a call chain. One stack traceback technique includes performing the following two steps for each virtual address at which a function call in the call chain is made: (1) locating the tag section whose virtual address range includes the virtual address; and (2) locating a tag in the tag section found in step (1), whose virtual address range includes the virtual address. The tag found in step (2) indicates which of the values, if any, respectively held by the non-volatile registers upon entry to the particular function in which the above function call is made, are stored in a stack frame for the particular function at the time of the function call.
摘要翻译: 堆栈跟踪在调试和异常处理例程中执行,并且涉及在进入呼叫链中的每个功能时提供非易失性寄存器的值。 一种堆栈追溯技术包括对进行呼叫链中的功能调用的每个虚拟地址执行以下两个步骤:(1)定位虚拟地址范围包括虚拟地址的标签段; 以及(2)将标签定位在步骤(1)中找到的标签部分中,其虚拟地址范围包括虚拟地址。 在步骤(2)中找到的标签指示在进入上述功能调用的特定功能时分别由非易失性寄存器保持的值中的哪一个存储在特定功能的堆栈帧中 在函数调用时。