simple umem integration with dbx
Thoughts on developer tools.

All | Dbx | Development Tools | Life in General | OpenSolaris | plus | Software Philosophy | Sun Studio

fav comics

« The Good Old Motif... | Main | Concurrency utils... »
20050725 Monday July 25, 2005

simple umem integration with dbx

The mdb debugger has some really nifty integration with libumem, as documented in this technical article, and Adam Leventhal's famous Top 20 Blog.

I got a request recently asking if dbx had similar features. I think the engineer who asked was already familiar with the memory checking features dbx has (Run Time Checking), but the simplicity and speed of libumem checking have their own advantages.

So anyway, after a bunch of fiddling around in my C.S.T. (copious spare time) I got a ksh script together that I'm not completely embarassed to share with the world. It has a few basic functions like:

The dbx lib umem module has a simple demo script in the documentation and a few tech notes. Please try it out if you're interested, and let me know how it goes. If you have trouble downloading it because it doesn't have a .txt extension let me know.

Update:

There is a Solaris bugid asking for libumem to export this information in a stable form. It is bugid:
6297789 libumem could use a libumem_db

In my never ending battle to figure out Technorati, here we go again: Posted by Chris Quenelle ( Jul 25 2005, 09:54:25 PM PDT ) - Permalink - Comments [1] -

Comments:

Chris, this is great! I hope we can get more cross-pollination between mdb and dbx. They definitely have slightly different design centers, but there's also certainly a lot of overlap we have yet to properly exploit.

Posted by Adam Leventhal on February 01, 2007 at 03:08 PM PST #

Post a Comment:

Comments are closed for this entry.

Older blog entries:

mug shot Chris Quenelle is a tools developer at Sun Microsystems. He's worked on performance and debugging tools at Sun for more than 10 years. He reads comic books and science fiction, and has more tivos than he can keep track of.

Calendar

RSS Feeds

Search

Links

Navigation

Referers