#include "temu-c/Support/Objsys.h"
#include <stdint.h>
 
Go to the source code of this file.
◆ TEMU_DEBUGGER_IFACE_TYPE
      
        
          | #define TEMU_DEBUGGER_IFACE_TYPE   "temu::DebuggerIface" | 
        
      
 
 
◆ temu_MemTransaction
◆ temu_Object
◆ temu_TimeSource
◆ temu_BreakAction
| Enumerator | 
|---|
| teBA_Stop  |  | 
| teBA_Resume  |  | 
 
 
◆ temu_BreakState
| Enumerator | 
|---|
| teBS_Ignore  |  | 
| teBS_Handle  |  | 
 
 
◆ temu_debuggerAttach()
Attach a debugger to the current scheduler
This attaches a debugger to the scheduler, ensuring it is notified about events such as breakpoints and watchpoints. 
 
 
◆ temu_debuggerConnected()
      
        
          | void temu_debuggerConnected  | 
          ( | 
           | ) | 
           | 
        
      
 
Notify debugger infrastructure that a remote connection has been made 
 
 
◆ temu_debuggerCont()
      
        
          | void temu_debuggerCont  | 
          ( | 
           | ) | 
           | 
        
      
 
Resume the scheduler from a debugger
Resumes the scheduler after a stop or breakpoint. Note the function returns immediately. The debugger server is expected to listen for events through the debugger interface instead. 
 
 
◆ temu_debuggerDetach()
      
        
          | void temu_debuggerDetach  | 
          ( | 
          void *  | 
          debugger | ) | 
           | 
        
      
 
Detach the debugger from the current scheduler
This attaches a debugger to the scheduler, ensuring it is notified about events such as breakpoints and watchpoints. 
 
 
◆ temu_debuggerGetCurrentProcessor()
      
        
          | int temu_debuggerGetCurrentProcessor  | 
          ( | 
           | ) | 
           | 
        
      
 
Return current processor number
Returns -1 when running, or stopped CPU number after breakpoint hit. 
 
 
◆ temu_debuggerStep()
Step the given processor.
The debugger must be attached, and the function will block until the scheduler is running using temu_run*() functions. 
 
 
◆ temu_debuggerStop()
      
        
          | void temu_debuggerStop  | 
          ( | 
           | ) | 
           | 
        
      
 
Stop the scheduler from a debugger
This function is intended to be used by the GDB server. It stops the scheduler as soon as possible, without returning from the temu_run*() functions.
The function is blocking until the core has been stopped. If the core is currently not running, this function waits until someone calls temu_run*().