projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2007-10-19 Nagappan A <anagappan@novell.com>
[mono.git]
/
web
/
jit-debug
diff --git
a/web/jit-debug
b/web/jit-debug
index 57ec906526332eef0ea3db60f86dfe4f3390e055..66b4411ff07d901618781294ddfce48e13eb31d4 100644
(file)
--- a/
web/jit-debug
+++ b/
web/jit-debug
@@
-16,7
+16,7
@@
* Debugging with GDB
If you use GDB to debug your mono process, you can use the function
* Debugging with GDB
If you use GDB to debug your mono process, you can use the function
- print_method_from_ip(void *address) to obtain the name of a method
+
mono_
print_method_from_ip(void *address) to obtain the name of a method
given an address.
For example:
given an address.
For example:
@@
-33,10
+33,10
@@
You can now use:
<pre>
You can now use:
<pre>
-(gdb) p print_method_from_ip (0x0817f490)
+(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
IP 0x817f490 at offset 0x28 of method (wrapper managed-to-native) System.String:GetHashCode () (0x817f468 0x817f4a4)
$1 = void
-(gdb) p print_method_from_ip (0x0817f42a)
+(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>
IP 0x817f42a at offset 0x52 of method System.Collections.Hashtable:GetHash (object) (0x817f3d8 0x817f43b)
$2 = void
</pre>