Hello all,

I'm trying to use KGDB for some days now, and since I'm still getting  
some errors that need to be fixed (working on it), I think that for  
now it's better to ask here if what I'm trying to achieve is  
theoretically possible with KGDB. I'm trying to do some kind of fault  
injection, and so what I'm planning to do is:

1. Interrupt whatever is running in the OS (this, of course, includes  
the OS itself);

2. Be able to call some kind of service routine to handle the  
interruption (an interrupt handler, I guess). This interrupt handler  
would inject a fault (e. g. bit-flip a breakpoint register, or the  
stack of the process that was interrupted, etc, i.e. something  
"critical" for the OS);

3. Resume OS execution and be able to access the context of the  
process interrupted (i. e.,  
https://www.princeton.edu/~achaney/tmve/wiki100k/docs/Context_switch.html);

I know that it seems that some of these requirements are present in  
KGDB, at least after reading the manual and some tutorials. But can  
someone confirm or deny that the above is indeed possible with KGDB?  
If the answer is positive, in a conceptual, general way, how would I  
achieve that?

Thank you all, and thanks for reading.

Best regards,
João Fernandes


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Kgdb-bugreport mailing list
Kgdb-bugreport@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to