首页> 外国专利> System for reporting errors of a translated program and using a boundry instruction bitmap to determine the corresponding instruction address in a source program

System for reporting errors of a translated program and using a boundry instruction bitmap to determine the corresponding instruction address in a source program

机译:报告已翻译程序错误并使用边界指令位图确定源程序中相应指令地址的系统

摘要

In a situation where a first computer program has been translated to obtain a second computer program, an error occurring during execution of the second computer program is reported in the context of the first program. This is done by aborting execution of the second computer program when the error occurs; determining a first address which is the address of the instruction in the second computer program that caused the error; determining from the first address a second address of an instruction in the first computer program from which the instruction in the second computer program was translated; and reporting that the error occurred, and using the second address to indicate that the error is associated with the instruction in the first computer program. Preferably the second address is used to reference traceback and symbolic name information generated when the first computer program is compiled from source code. The traceback information provides the line number of the source code from which the instruction in the first computer program was compiled, and the symbolic name information provides the name of a routine containing the instruction in the first program or a variable used by the instruction.
机译:在已经翻译了第一计算机程序以获得第二计算机程序的情况下,在第一程序的上下文中报告在执行第二计算机程序期间发生的错误。这是通过在发生错误时中止第二个计算机程序的执行来完成的。确定第一地址,该第一地址是第二计算机程序中引起错误的指令的地址;从第一地址确定第一计算机程序中的指令的第二地址,第二计算机程序中的指令从该第二地址被翻译;并报告该错误发生,并且使用第二地址来指示该错误与第一计算机程序中的指令相关联。优选地,第二地址用于参考当第一计算机程序从源代码编译时生成的回溯和符号名称信息。追溯信息提供了从中编译第一计算机程序中的指令的源代码的行号,而符号名称信息提供了包含第一程序中的指令的例程的名称或该指令使用的变量。

著录项

  • 公开/公告号US5432795A

    专利类型

  • 公开/公告日1995-07-11

    原文格式PDF

  • 申请/专利权人 DIGITAL EQUIPMENT CORPORATION;

    申请/专利号US19910700770

  • 发明设计人 SCOTT G. ROBINSON;

    申请日1991-05-15

  • 分类号G06F9/45;

  • 国家 US

  • 入库时间 2022-08-22 04:04:38

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号