发明名称 System for analyzing and debugging embedded software through dynamic and interactive use of code markers
摘要 A system for inserting code markers for observing indications (external to the microprocessor upon which the software operates) of the occurrence of an event in the execution of the software. Additional instructions or markers are added to the software to be debugged to produce simple, encoded, memory references to otherwise unused memory or I/O locations that will always be visible to a logic analyzer as bus cycles. Although the code markers cause a minimal intrusion in the underlying software, they make tracing events by a conventional logic analyzer much simpler and allow for performance evaluations in manners not heretofore possible. The inserted code markers provide a method of dynamically extracting information from a running host or real-time "black box" embedded system under test using simple low intrusion print statements, encoded I/O writes on procedure entries and exits, and/or an interface to service calls and the like which writes out the passed parameters. The code markers are inserted at compile time or interactively during the debug session to make visible critical points in the code execution, such as function calls, task creation and semaphore operations, so as to speed isolation of problems at test points during debugging. Performance analysis and event analysis use the code markers to cut through the ambiguities of microprocessor prefetch and cache operations. Because of these features, the invention is particularly advantageous for use by software design teams developing complex embedded host or real-time operating systems using multi-task operating systems and/or object oriented systems.
申请公布号 US5450586(A) 申请公布日期 1995.09.12
申请号 US19920876346 申请日期 1992.04.30
申请人 HEWLETT-PACKARD COMPANY 发明人 KUZARA, ERIC J.;BLASCIAK, ANDREW J.;PARETS, GREG S.
分类号 G06F11/28;G06F9/06;G06F11/34;G06F11/36;(IPC1-7):G06F7/00 主分类号 G06F11/28
代理机构 代理人
主权项
地址