IP Library Granted Patent US 9,395,983
Granted Patent B2
US 9,395,983 · App. 12/195,220 · Granted Jul 19, 2016

Debug instruction for execution by a first thread to generate a debug event in a second thread to cause a halting operation

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,395,983
App. No.
12/195,220
Granted
Jul 19, 2016
Kind
B2
Abstract

For use in a data processing system comprising a processor configured to execute a first set of instructions corresponding to a first thread and a second set of instructions corresponding to a second thread, a method is provided. The method comprises in response to execution of a debug related instruction by the first thread while executing the first set of instructions, generating a debug event for processing by the second thread, wherein processing the debug event comprises causing a halting operation related to the processor.

Claims (29)

1. In a data processing system comprising a processor configured to execute a first set of instructions corresponding to a first thread and a second set of instructions corresponding to a second thread, a method comprising:

debugging the first thread and the second thread, wherein the first set of instructions corresponding to the first thread comprises a debug instruction capable of selecting zero or more threads of the processor, wherein when the debug instruction selects the second thread but not the first thread, the debugging comprises:

in response to execution of the debug instruction by the first thread while executing the first set of instructions, generating a debug event for processing by the second thread, wherein processing the debug event comprises causing a halting operation of the second thread, and wherein execution of the first thread is not halted in response to execution of the debug instruction.

2. The method of claim 1 , wherein generating the debug event further comprises posting a debug event to a debug event register.

3. The method of claim 1 , wherein generating the debug event further comprises determining whether an external debugger is enabled.

4. The method of claim 3 , wherein generating the debug event further comprises generating an instruction exception when the external debugger is not enabled.

5. The method of claim 1 wherein processing the debug event comprises processing a debug interrupt corresponding to the second thread when interrupts are enabled.

6. The method of claim 1 , wherein the second thread is selected from a group consisting of a plurality of threads and wherein the second thread is selected based on a thread select field in the debug instruction.

7. The method of claim 6 , wherein when the thread select field has a predetermined value, the second thread is selected based on a value stored in a thread key register.

8. The method of claim 2 , wherein when the debug event is posted to the debug event register, if the second thread is inactive, the second thread receives a debug interrupt when the second thread becomes active.

9. The method of claim 1 , wherein the processor is further configured to execute a third set of instructions corresponding to a third thread, wherein the debug instruction further indicates the third thread, and wherein the method further comprises in response to the execution of the debug instruction by the first thread while executing the first set of instructions, generating a debug event for processing by each of the second thread and the third thread, wherein execution of the first thread is not halted in response to execution of the debug instruction.

10. The method of claim 1 , wherein when the debug instruction does not select any thread, execution of the debug instruction results in no operation such that no debug event is generated.

11. The method of claim 1 , wherein the halting operation of the second thread comprises precluding the second thread from being activated by a thread scheduler of the processor.

12. The method of claim 1 , wherein, in response to execution of the debug instruction by the first thread while executing the first set of instructions, a halting operation is not performed for any thread not indicated by the debug instruction.

13. In a data processing system comprising a processor configured to overlap execution of a first set of instructions corresponding to a first thread and a second set of instructions corresponding to a second thread, a method comprising:

debugging the first thread and the second thread, wherein the first set of instruction of the first thread corresponding to the first thread comprises a debug instruction which indicates zero or more threads of the processor, wherein when the debug instruction indicates the second thread but not the first thread, the debugging comprises:

in response to execution of the debug instruction by the first thread while executing the first set of instructions, generating a debug event for processing by the second thread, wherein processing the debug event comprises causing a halting operation of the second thread, wherein execution of the first thread is not halted in response to execution of the debug instruction, wherein the second thread is selected from a group consisting of a plurality of threads and wherein the second thread is selected based on a thread select field.

14. The method of claim 13 , wherein generating the debug event further comprises posting a debug event to a debug event register.

15. The method of claim 13 , wherein generating the debug event further comprises determining whether an external debugger is enabled.

16. The method of claim 15 , wherein the generating the debug event further comprises generating an instruction exception when the external debugger is not enabled.

17. The method of claim 13 processing wherein processing the debug event comprises processing a debug interrupt corresponding to the second thread when interrupts are enabled.

18. The method of claim 13 , wherein the thread select field comprises a portion of the debug instruction encoding and wherein when the thread select field has a predetermined value, the second thread is selected based on a value stored in a thread key register.

19. The method of claim 13 , wherein when the debug instruction does not select any thread, execution of the debug instruction results in no operation such that no debug event is generated.

20. The method of claim 13 , wherein the halting operation of the second thread comprises precluding the second thread from being activated by a thread scheduler of the processor.

21. The method of claim 13 , wherein, in response to execution of the debug instruction by the first thread while executing the first set of instructions, a halting operation is not performed for any thread not indicated by the debug instruction.

22. A data processing system implemented at least partially in hardware comprising:

a processor configured to execute a first set of instructions corresponding to a first thread and a second set of instructions corresponding to a second thread, wherein the first set of instructions corresponding to the first thread comprises a debug instruction which indicates zero or more threads of the processor, the processor further configured, when the debug instruction indicates the second thread but not the first thread, during debugging of the first thread and the second thread and in response to execution of the debug instruction by the first thread while executing the first set of instructions, generating a debug event for processing by the second thread, wherein processing the debug event comprises causing a halting operation of the second thread, and wherein execution of the first thread is not halted in response to execution of the debug instruction.

23. The data processing system of claim 22 , wherein the processor further comprises thread control circuitry configured to post a debug event to a debug event register.

24. The data processing system of claim 22 , wherein the second thread is selected from a group consisting of a plurality of threads and wherein the second thread is selected based on a thread select field in the debug instruction.

Assignments (20)
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040925 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Feb 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V. F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 052917/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 040928 FRAME 0001. ASSIGNOR(S) HEREBY CONFIRMS THE RELEASE OF SECURITY INTEREST. Recorded Jan 17, 2020
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 052915/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE APPLICATION 11759915 AND REPLACE IT WITH APPLICATION 11759935 PREVIOUSLY RECORDED ON REEL 037486 FRAME 0517. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Dec 10, 2019
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 053547/0421 →
RELEASE OF SECURITY INTEREST Recorded Sep 10, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 050744/0097 →
CORRECTIVE ASSIGNMENT TO CORRECT THE TO CORRECT THE APPLICATION NO. FROM 13,883,290 TO 13,833,290 PREVIOUSLY RECORDED ON REEL 041703 FRAME 0536. ASSIGNOR(S) HEREBY CONFIRMS THE THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS.. Recorded Feb 20, 2019
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: SHENZHEN XINGUODU TECHNOLOGY CO., LTD.
Reel/Frame 048734/0001 →
CORRECTIVE ASSIGNMENT TO CORRECT THE NATURE OF CONVEYANCE PREVIOUSLY RECORDED AT REEL: 040632 FRAME: 0001. ASSIGNOR(S) HEREBY CONFIRMS THE MERGER AND CHANGE OF NAME. Recorded Sep 21, 2017
From: FREESCALE SEMICONDUCTOR INC.
To: NXP USA, INC.
Reel/Frame 044209/0047 →
CORRECTIVE ASSIGNMENT TO CORRECT THE REMOVE PATENTS 8108266 AND 8062324 AND REPLACE THEM WITH 6108266 AND 8060324 PREVIOUSLY RECORDED ON REEL 037518 FRAME 0292. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS. Recorded Feb 1, 2017
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 041703/0536 →
CHANGE OF NAME Recorded Nov 8, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: NXP USA, INC.
Reel/Frame 040632/0001 →
RELEASE OF SECURITY INTEREST Recorded Nov 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP B.V.
Reel/Frame 040928/0001 →
RELEASE OF SECURITY INTEREST Recorded Sep 21, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: NXP, B.V., F/K/A FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 040925/0001 →
SUPPLEMENT TO THE SECURITY AGREEMENT Recorded Jun 16, 2016
From: FREESCALE SEMICONDUCTOR, INC.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 039138/0001 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 13, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037518/0292 →
ASSIGNMENT AND ASSUMPTION OF SECURITY INTEREST IN PATENTS Recorded Jan 12, 2016
From: CITIBANK, N.A.
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 037486/0517 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037354/0757 →
PATENT RELEASE Recorded Dec 21, 2015
From: CITIBANK, N.A., AS COLLATERAL AGENT
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 037356/0553 →
SECURITY AGREEMENT Recorded Nov 6, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 031591/0266 →
SECURITY AGREEMENT Recorded Jun 18, 2013
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS NOTES COLLATERAL AGENT
Reel/Frame 030633/0424 →
SECURITY AGREEMENT Recorded May 13, 2010
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A., AS COLLATERAL AGENT
Reel/Frame 024397/0001 →
SECURITY AGREEMENT Recorded Dec 9, 2008
From: FREESCALE SEMICONDUCTOR, INC.
To: CITIBANK, N.A.
Reel/Frame 021936/0772 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 22, 2008
From: MOYER, WILLIAM C.; SNYDER, MICHAEL D.; WHISENHUNT, GARY L.
To: FREESCALE SEMICONDUCTOR, INC.
Reel/Frame 021429/0204 →