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

Reply via email to