mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:32:46 +00:00 
			
		
		
		
	Kernel: Add ptrace commands for reading/writing the debug registers
This adds PT_PEEKDEBUG and PT_POKEDEBUG to allow for reading/writing the debug registers, and updates the Kernel's debug handler to read the new information from the debug status register.
This commit is contained in:
		
							parent
							
								
									97a4c627cb
								
							
						
					
					
						commit
						3123ffb19d
					
				
					 6 changed files with 79 additions and 5 deletions
				
			
		|  | @ -690,6 +690,8 @@ struct rtentry { | |||
| #define PT_PEEK 7 | ||||
| #define PT_POKE 8 | ||||
| #define PT_SETREGS 9 | ||||
| #define PT_POKEDEBUG 10 | ||||
| #define PT_PEEKDEBUG 11 | ||||
| 
 | ||||
| // Used in struct dirent
 | ||||
| enum { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 FalseHonesty
						FalseHonesty