首页> 外国专利> Multiprocessor system with cache-based software breakpoints

Multiprocessor system with cache-based software breakpoints

机译:具有基于缓存的软件断点的多处理器系统

摘要

Techniques are disclosed for implementing software breakpoints in a multiprocessor system having a number of processors each coupled to a main memory. In an illustrative embodiment, each of the processors has an instruction cache associated therewith. An instruction for which a breakpoint is to be inserted is retrieved from a corresponding instruction address in the main memory, and a breakpoint code is inserted at the instruction address in main memory. After the breakpoint code is executed by a given one of the processors, the retrieved instruction is stored in the corresponding instruction cache for that processor, and a use-once indicator is set. The use-once indicator is operative via cache control logic to clear a validity indicator associated with the instruction after a single fetch of the instruction from the instruction cache, such that subsequent attempts by the given processor to access the instruction as stored in the instruction cache will cause the processor to retrieve the breakpoint code at the instruction address in main memory.
机译:公开了用于在具有多个分别耦合到主存储器的处理器的多处理器系统中实现软件断点的技术。在说明性实施例中,每个处理器具有与其关联的指令高速缓存。从主存储器中的相应指令地址中检索要插入断点的指令,并在主存储器中的指令地址处插入断点代码。在给定的一个处理器执行了断点代码之后,将检索到的指令存储在该处理器的相应指令高速缓存中,并设置了一次使用指示符。一次使用指示符可通过高速缓存控制逻辑操作,以在从指令高速缓存中一次取回指令后清除与该指令相关联的有效性指示符,从而使给定处理器随后尝试访问存储在指令高速缓存中的指令将导致处理器在主存储器的指令地址处检索断点代码。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号