On Thu, Apr 21, 2011 at 6:46 PM, Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk wrote:
On 21/04/11 13:46, Artyom Tarasenko wrote:
Thanks :) I thought you may be interested as I suspect your kadb-fu is a lot stronger than mine. Having played around with kadb a short time, I've already decided that it makes gdb look like a friendly GUI application in comparison :O
Indeed gdb is friendly (taking into account the program sizes it's no wonder), but is there a way to make it load the symbols for the kernel _and_ the modules? I would switch to gdb then.
The part I'm playing with at the moment is setting deferred breakpoints, e.g.:
zs#zsa_init:b
Thought you were past that point?
That breaks, but I struggle with the basic commands to do anything. Perhaps I could really cheat by adding a native SPARC gdb executable into my Solaris 8 ISO image and then booting that instead of kadb? ;)
You'd have to develop a Solaris kgdb for that ;-).