On Thu, Aug 18, 2005 at 11:44:54AM -0400, Andrew Gallatin wrote: > > According to > http://blogs.sun.com/roller/page/chrisg/20041123#amd64_arguements, > there is a dcmd called "act_thread" which can print arguments. > But I don't seem to have it available on my Solaris 10 GA box: > > > *panic_thread::act_thread > mdb: invalid command '::act_thread': unknown dcmd name > > > ::help act_thread > mdb: unknown command: act_thread > > The block linked to > (http://blogs.sun.com/roller/page/eschrock?entry=debugging_on_amd64_part_two) > has a link to the act tool (http://cpre-emea.uk/tools/act.html), but > the host mentioned in that link does not exist.
The ACT tools are only available internally to Sun. I don't know of any plans to make them publicly available, but there should be... > Does anybody know where/how to get an mdb with the act_thread dcmd? > I apologize in advance if this is a dumb question -- I'm pretty new > to Solaris & debugging with mdb. No problem. Finding arguments on amd64 is a pain. We have been working with the Sun Studio and GCC folks to create an option to always push arguments to the stack a la 32-bit x86, as well as the associated MDB changes to grab this information. This will be available soon. We're also working on a programmatic method of disassembling the text and deriving the original arguments. In the meantime, you're stuck using the method described in my blog, above. While slow and annoying, it does work. - Eric -- Eric Schrock, Solaris Kernel Development http://blogs.sun.com/eschrock