Wow, this is great. I will look into using it for thread-apply too. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: getnumber.txt URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20110219/6e99efc3/attachment.txt>