Stack-based trace message generation for debug and device thereof
AssigneeFreescale Semiconductor, Inc.
InventorWilliam C. Moyer
Life of this patent
Estimating the term…
Abstract
During a debug mode of operation of a data processor it is determined whether a data access request is to a stack of the data processor. If not, a data trace message based on the data access request is generated for transmission to a debugger so long as an address being accessed by data access request meets a predefined address range criteria. Otherwise, if the data access request is to the stack of the data processor, a data trace message based on the data access request is prevented from being generated for transmission to the debugger regardless the predefined address range criteria.
Claims20
A method comprising:
- generating a first data access request by a data processor to access a first memory location;
- and
- preventing data trace information from being generated in response to the first data access request of a data processor responsive to the first data access request being an access request to a memory stack of the data processor irrespective of a first address range that is provided to qualify generation of data trace messages.
A method comprising:
- generating a data access request to a memory location that is within an address range of addresses for which generation of data trace messages is enabled;
- and
- preventing the generation of the data trace message for the memory location based upon determining that the address of data access request is determined based upon an index value stored at a predefined storage location.
A processor comprising:
- a first storage location to store an address range;
- a second storage location to store a filtering indicator;
- and
- filter logic comprising a comparator to compare the address range to an address of a data access request of the processor, and comprising stack access filtering logic to determine if the data access request is to a data stack of the processor, and the filter logic to prevent data trace message generation irrespective of a result from the comparator if it is determined the data access request is to the data stack, otherwise, if it is determined the data access is not to the data stack, the filter logic is to determine whether to prevent or generate the data trace message based upon a result of the comparator.
Dependencies are inferred from the claim text.