Does IRIX have a kernel debugging feature? -
Raion - 02-27-2021
I'm running into numerous kernel crashes while playing around with basic stub drivers for IRIX (printf debug statements, sending various UNIX signals etc.)
Currently, the modus operandi is to spam printfs everywhere, create a trap/crash, reboot and check SYSLOG. Did IRIX ship with any kind of kernel debugging software?
RE: Does IRIX have a kernel debugging feature? -
robespierre - 02-27-2021
(02-27-2021, 04:17 AM)Raion Wrote: I'm running into numerous kernel crashes while playing around with basic stub drivers for IRIX (printf debug statements, sending various UNIX signals etc.)
Currently, the modus operandi is to spam printfs everywhere, create a trap/crash, reboot and check SYSLOG. Did IRIX ship with any kind of kernel debugging software?
The icrash(1M) tool is the rough equivalent of adb(1) or crash(1) on a SVR4 system. The idbg(1M) tool is the functional equivalent to SVR4's adb -k. There is also a "resident debugger" called symmon(1M) that runs as a standalone executable. You need to configure a debugging kernel, and have a serial console terminal, in order to use it.
http://retrogeeks.org/sgi_bookshelves/SGI_Developer/books/DevDriver_PG/sgi_html/ch10.html
RE: Does IRIX have a kernel debugging feature? -
Raion - 02-27-2021
Oh nice. I'll read up on this.