GDB should be available for Solaris as well if nothing else works.
Did you try to search for the required function name with nm or objdump?
Egor, you mentioned:
"There might be a catch here. Such program will not work without some values (like address of fixed table). These values may change after db startup and are obtained using ordinary SQL (via sqlplus, for example). So if we want to use program that directly read data from SGA of hanged database, we need to preliminary read some values sometimes before database hangs (for example, immediately after startup)."