System and method for setting and executing breakpoints

   
   

A system and method for setting and executing breakpoints utilized for debugging program code. A user interface (UI) stores breakpoint addresses in a breakpoint table within a central processing unit (CPU). Multiple breakpoint addresses may be stored in the table as a range of addresses in a single entry. A flag indicates whether each stored address or address range is a physical or virtual address. When executing the program code on the CPU, an instruction core requests from an instruction cache, an instruction associated with a particular address. The cache first determines from the breakpoint table within the CPU whether there is a breakpoint associated with the particular address. If so, the cache returns control to the UI. Otherwise, the cache goes out to a coherency controller to fetch the instruction from memory.

Ένα σύστημα και μια μέθοδος για και τα σημεία παύσης που χρησιμοποιούνται για τον κώδικα προγράμματος διόρθωσης. Ένα ενδιάμεσο με τον χρήστη (UI) αποθηκεύει τις διευθύνσεις σημείου παύσης σε έναν πίνακα σημείου παύσης μέσα σε μια μονάδα κεντρικής επεξεργασίας (ΚΜΕ). Οι πολλαπλάσιες διευθύνσεις σημείου παύσης μπορούν να αποθηκευτούν στον πίνακα ως σειρά των διευθύνσεων σε μια ενιαία είσοδο. Μια σημαία δείχνει εάν κάθε αποθηκευμένη διεύθυνση ή σειρά διευθύνσεων είναι μια φυσική ή εικονική διεύθυνση. Κατά την εκτέλεση του κώδικα προγράμματος στην ΚΜΕ, αιτήματα οδηγίας πυρήνων από μια κρύπτη οδηγίας, μια οδηγία που συνδέεται με μια ιδιαίτερη διεύθυνση. Η κρύπτη καθορίζει αρχικά από τον πίνακα σημείου παύσης μέσα στην ΚΜΕ εάν υπάρχει ένα σημείο παύσης που συνδέεται με την ιδιαίτερη διεύθυνση. Σε αυτή την περίπτωση, η κρύπτη επιστρέφει τον έλεγχο στο UI. Διαφορετικά, η κρύπτη βγαίνει σε έναν ελεγκτή συνοχής για να προσκομίσει την οδηγία από τη μνήμη.

 
Web www.patentalert.com

< Data processing with policed object union

< Redundant component system and method for facilitating endsystem functionality

> Data integrity verification mechanism

> Synchronized signal transfer system

~ 00165