See set_process_state() and invalidate_dbg_state() 
 | 
| 
#define  | DBGINV_MEMORY   0x0001 | 
|   | invalidate cached memory contents 
  | 
|   | 
| 
#define  | DBGINV_MEMCFG   0x0002 | 
|   | invalidate cached process segmentation 
  | 
|   | 
| 
#define  | DBGINV_REGS   0x0004 | 
|   | invalidate cached register values 
  | 
|   | 
| 
#define  | DBGINV_ALL   0x7FFF | 
|   | invalidate everything 
  | 
|   | 
| 
#define  | DBGINV_REDRAW   0x8000 | 
|   | refresh the screen 
  | 
|   | 
| 
#define  | DBGINV_NONE   0 | 
|   | invalidate nothing 
  | 
|   |