[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensolaris-mdb-discuss
Subject:    Re: [mdb-discuss] ::interrupts replacement for older Solaris
From:       Nils Goroll <slink () schokola ! de>
Date:       2009-01-27 21:44:36
Message-ID: 497F8044.9090407 () schokola ! de
[Download RAW message or body]

Jürgen,

> On x86?  Dan Mick did have an autovec utility,
> at  ftp://playground.sun.com/pub/dmick/autovec.tar.Z

sorry for the late response. Thank you very much for the pointer, this is a nice 
little tool which does exactly what I need.

Just in case this helps anyone (I guess this won't be much help for the mdb 
audience ;-), autovec needs a tiny modification to run on current OpenSolaris 
(as of snv_101b):

--- ../autovec.dist//autovec.c	Sun Dec 21 08:39:51 2003
+++ ./autovec.c	Tue Jan 27 22:32:49 2009
@@ -65,9 +65,10 @@
  				continue;
  			}
  			if (verbose)
-				printf("  %s(%#0x) pri %d dip %#0x\n",
+				printf("  %s(%#0x,%#0x) pri %d dip %#0x\n",
  				    elfsym_lookup((void *)av.av_vector),
-				    av.av_intarg, av.av_prilevel, av.av_dip);
+				    av.av_intarg1, av.av_intarg1,
+				    av.av_prilevel, av.av_dip);
  			else
  				printf("  %s() pri %d\n",
  				    elfsym_lookup((void *)av.av_vector),

Cheers, Nils
_______________________________________________
mdb-discuss mailing list
mdb-discuss@opensolaris.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic