-
公开(公告)号:US20070022322A1
公开(公告)日:2007-01-25
申请号:US11184224
申请日:2005-07-19
Applicant: Michael Chen , Mark Larsen , James Stulz , Gregory Hogdal
Inventor: Michael Chen , Mark Larsen , James Stulz , Gregory Hogdal
IPC: G06F11/00
CPC classification number: G06F11/3644 , G06F12/1027 , G06F12/145
Abstract: A technique to implement software debugging capability using breakpoints includes creating breakpoints, storing them in a watchlist, and paging out a virtual address (VA) to physical address (PA) page entry in a translation look-aside buffer (TLB). When software under test is run at full speed, memory is accessed via the TLB VA to PA page translations. When a translation is missing, an exception is generated. Handling the exception includes determining if the page missing from the TLB matches a breakpoint address in the watchlist. The address and operation type are compared to the watchlist. If the operation matches the address and not the specified data, then the software under test is single stepped, the TLB page is removed and the software under test continues to execute. If the breakpoint and data type matches, then a debugger is notified and debugger action to service the breakpoint occurs.
Abstract translation: 使用断点来实现软件调试功能的技术包括创建断点,将其存储在监视列表中,以及将虚拟地址(VA)传送到翻译后备缓冲器(TLB)中的物理地址(PA)页面条目。 当被测试软件全速运行时,通过TLB VA到PA页面翻译访问存储器。 当翻译缺失时,会生成异常。 处理异常包括确定TLB中缺少的页面是否与监视列表中的断点地址匹配。 地址和操作类型与监视列表进行比较。 如果操作与地址匹配,而不是指定的数据,则被测软件是单步的,TLB页被删除,被测软件继续执行。 如果断点和数据类型匹配,则会通知调试器,并发生调试器操作以服务断点。
-
公开(公告)号:US20070011431A1
公开(公告)日:2007-01-11
申请号:US11167727
申请日:2005-06-27
Applicant: Gregory Hogdal , James Stulz , Mark Larsen
Inventor: Gregory Hogdal , James Stulz , Mark Larsen
IPC: G06F12/00
CPC classification number: G06F11/3644 , G06F12/10
Abstract: Software breakpoints for code that normally executes from ROM are set by remapping a page of virtual addresses normally translated to a page of physical addresses in ROM to a page of physical addresses in RAM. This new mapping is stored in the page table and translation look-aside table (TLB). Further, the information stored at the page of ROM is copied to the remapped physical addresses of the RAM. As a result, the ROM information is stored at physical addresses of RAM, and virtual addresses of that ROM code are remapped to these RAM physical addresses. Accordingly, software breakpoints can be written for the ROM code because the code is now stored in RAM.
Abstract translation: 通常从ROM执行的代码的软件断点通过重新映射通常转换为ROM中的物理地址页面的虚拟地址页面到RAM中的物理地址页面来设置。 这个新映射存储在页表和转换后视表(TLB)中。 此外,存储在ROM页面的信息被复制到RAM的映射物理地址。 结果,ROM信息被存储在RAM的物理地址处,并且该ROM代码的虚拟地址被重新映射到这些RAM物理地址。 因此,可以为ROM代码写入软件断点,因为代码现在存储在RAM中。
-
公开(公告)号:US20060277442A1
公开(公告)日:2006-12-07
申请号:US11146557
申请日:2005-06-07
Applicant: Eric Lantz , Anthony Leitao , James Stulz
Inventor: Eric Lantz , Anthony Leitao , James Stulz
IPC: G06F11/00
CPC classification number: G06F11/0793 , G06F11/0742 , G06F11/0748 , G06F11/3644
Abstract: A software error in a mobile computing device is patched in the field when an application executing on the device crashes. The usage pattern of the device determines the type of crash data that is submitted to a crash server. The crash data is compared to registration information to identify the availability of an application fix that overcomes the error that caused the device software to crash. Crash information that identifies information corresponding to the device where the crash occurred is submitted to a patch detection server. The patch detection server generates XML schema based on the crash information. The application fix is located on the patch server using the XML schema and a patch identifier associated with the application fix. The device loads the application fix into memory to correct the error in the software code.
Abstract translation: 当在设备上执行的应用程序崩溃时,在现场修补移动计算设备中的软件错误。 设备的使用模式确定提交到崩溃服务器的崩溃数据的类型。 将崩溃数据与注册信息进行比较,以确定克服导致设备软件崩溃的错误的应用程序修复程序的可用性。 识别与发生崩溃的设备相对应的信息的崩溃信息被提交给修补程序检测服务器。 补丁检测服务器根据崩溃信息生成XML模式。 应用程序修补程序位于修补程序服务器上,使用XML模式和与应用程序修订相关联的修补程序标识符。 该设备将应用程序修补程序加载到内存中以更正软件代码中的错误。
-
-