Patents
US 9,201,749 B2#41647367 Most CitedActiveUnited States (USPTO)Utility

Diagnosing code using single step execution

2Forward Citations (#41647367 Global)
0.2/yrCitation Velocity (#35697387 Global)
0.97Citation PageRank (#43229338 Global)
29Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and apparatus for controlling a processor to execute in a single step mode such that a single instruction from the instruction stream is executed, the processor determines if the single instruction is one of at least one predetermined type of instruction and stores a type indicator in a data storage location and a diagnostic exception is taken after the processor has processed the single instruction. Additionally, a diagnostic operation is performed including accessing the type indicator stored in the data storage location and, when the single instruction was not one of the predetermined type, controlling the processor to continue executing instructions in the single step mode, and, when the single instruction was one of the at least one predetermined type, controlling the processor to exit the single step mode and not execute the next instruction within the instruction stream as a single instruction followed by an exception.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 2.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for diagnosing a processor processing a stream of instructions comprising: (i) controlling said processor to execute in a single step mode such that a single instruction from said instruction stream is executed, said processor determines if said single instruction is one of at least one predetermined type of instruction and stores a type indicator in a data storage location and a diagnostic exception is taken after said processor has processed said single instruction; (ii) performing diagnostic operations following said diagnostic exception including: accessing said type indicator sto

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (29)

PatentTitleYearCitations
US 4,819,234 AOperating system debugger1989184
US 5,050,168 ATest coverage analyzer199181
US 5,621,886 AMethod and apparatus for providing efficient software debugging1997115
US 5,790,843 ASystem for modifying microprocessor operations independently of the execution unit upon detection of preselected opcodes199830
US 5,938,778 ASystem and method for tracing instructions in an information handling system without changing the system source code1999113
WO 0,248,887 A2Single-step processing—6
GB 2,380,831 ADebug exception handler and registers—11
US 2003135787 A1Method and system using hardware assistance for continuance of trap mode during or after interruption sequences—13
US 2004010789 A1Fault-tolerant computer system, re-synchronization method thereof and re-synchronization program thereof—9
TW 200,401,187 AFault-tolerant computer system, re-synchronization method thereof and re-synchronization program thereof—14
US 2004073780 A1Single-step processing and selecting debugging modes—34
US 2004123084 A1Enabling tracing of a repeat instruction—34
US 2005240819 A1Providing support for single stepping a virtual machine in a virtual machine environment—22
US 2006294326 A1Primitives to enhance thread-level speculation—117
TW 200,722,987 ASystem and method for testing and debugging electronic apparatus in single connection port—1
US 2007168729 A1System and method for testing and debugging electronic apparatus in single connection port—9
US 2007180536 A1Processor, memory, computer system, system LSI, and method of authentication—11
US 7,277,998 B1Restricting memory access to protect data when sharing a common address space200726
US 7,350,110 B2Method and system using hardware assistance for continuance of trap mode during or after interruption sequences20085
JP 2008097602 ASystem, method, and program for communication management by majority configuration for virtual machine—9
US 2008184055 A1Instruction-based timer control during debug—23
US 2009007119 A1Method and apparatus for single-stepping coherence events in a multiprocessor system under software control—11
US 2009183142 A1Debugging lazily evaluated program components—18
US 2010100770 A1Software debugger for packets in a network on a chip—9
US 2011022896 A1Methods and systems for first occurence debugging—5
US 2012102469 A1Deterministic application breakpoint halting by logically relating breakpoints in a graph—13
US 2012210103 A1System and method for multi-core synchronous debugging of a multi-core platform—23
US 2012291017 A1Debugger and debugging methods using breakpoints conditioned on the static identity of data—18

Non-Patent Literature (5)

  • B. Glamm et al, "Automatic Verification of Instruction Set Simulation Using Synchronized State Comparison" IEEE, Simulation Symposium, Apr. 2001, pp. 72-77.
  • European Office Action issued May 13, 2015 in EP 12 704 111.9, 5 pages.
  • First Office Action received in corresponding Chinese Appin. No. 201280013329.0 with Search Report and translation issued Jul. 9, 2015.
  • International Preliminary Report on Patentability mailed Sep. 26, 2013 in PCT/GB2012/050232, 7 pages.
  • International Search Report and Written Opinion of the International Searching Authority dated May 3, 2012 in PCT/GB2012/050232, 12 pages.