+* Debugging with GDB
+
+ If you use GDB to debug your mono process, you can use the function
+ mono_print_method_from_ip(void *address) to obtain the name of a method
+ given an address.
+
+ For example:
+
+ <pre>
+(gdb) where
+#0 ves_icall_System_String_GetHashCode (me=0x80795d0) at string-icalls.c:861
+#1 0x0817f490 in ?? ()
+#2 0x0817f42a in ?? ()
+#3 0x0817f266 in ?? ()
+#4 0x0817f1a5 in ?? ()
+</pre>
+
+ You can now use:
+
+<pre>
+(gdb) p mono_print_method_from_ip (0x0817f490)
+IP 0x817f490 at offset 0x28 of method (wrapper managed-to-native) System.String:GetHashCode () (0x817f468 0x817f4a4)
+$1 = void
+(gdb) p mono_print_method_from_ip (0x0817f42a)
+IP 0x817f42a at offset 0x52 of method System.Collections.Hashtable:GetHash (object) (0x817f3d8 0x817f43b)
+$2 = void
+</pre>
+
+ Mono support libraries use a couple of signals internally that
+ confuse gdb, you might want to add this to your .gdbinit file:
+
+<pre>
+ handle SIGPWR nostop noprint
+ handle SIGXCPU nostop noprint
+</pre>
+