Re:Making a low level Linux debugger, part 3: our first program
by pmarreck on Tuesday July 10, 2018 @10:04AM
(#17498165)
Why do you think debuggers are so necessary at the metal when they aren't further above the metal?
[ Parent
| on HN ]
Re:Making a low level Linux debugger, part 3: our first program
by yitchelle on Wednesday July 11, 2018 @03:26AM
(#17505064)
When debugging code that are close to the metal such as device drivers or interrupt service routines, the code's behavior is very tightly coupled to the metal.
For example, the interrupt service routine that your debugging could not reacting fast enough and you need to find out why? Priority of the said interrupt is correctly configured and it is blocked by a higher priotiy interrupt. This type of behaviour difficult to track down if a debugger is not used.