Re: [drlvm] How to debug the drlvm with gdb?

2006-11-01 Thread Mikhail Fursov
Thanks Rana! If you ask me what would I like, the answer is quite simple: as a windows developer primary (today) I would recommend to other windows developers to use msvc build (with patch from HARMONY-1990http://issues.apache.org/jira/browse/HARMONY-1990 ). With this patch you can almost forget

Re: [drlvm] How to debug the drlvm with gdb?

2006-11-01 Thread Geir Magnusson Jr.
Mikhail Fursov wrote: Thanks Rana! If you ask me what would I like, the answer is quite simple: as a windows developer primary (today) I would recommend to other windows developers to use msvc build (with patch from HARMONY-1990http://issues.apache.org/jira/browse/HARMONY-1990 ). With this

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-31 Thread Rana Dasgupta
I created a basic debugging page for debugging with the VS debugger on windows. Mikhail and others, make whatever changes you like :-) Rana On 10/24/06, Mikhail Fursov [EMAIL PROTECTED] wrote: On 24 Oct 2006 22:42:22 +0700, Egor Pasko [EMAIL PROTECTED] wrote: - Debugging on Windows -

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-24 Thread Egor Pasko
On the 0x208 day of Apache Harmony Geir Magnusson, Jr. wrote: Egor Pasko wrote: On the 0x208 day of Apache Harmony Tonny Lau wrote: Hi, I checked out the latest drlvm, and failed to set breakpoint when I used gdb. It seems the

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-24 Thread Egor Pasko
On the 0x208 day of Apache Harmony Nadezhda Morozova wrote: Egor, Thanks for a detailed an proactive response. Surely, I think we can start accumulating new content on Wiki - this is more visible and editable than patches to website. When we're done with the bulk of content, I'll migrate the

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-24 Thread Mikhail Fursov
On 24 Oct 2006 22:42:22 +0700, Egor Pasko [EMAIL PROTECTED] wrote: - Debugging on Windows - Mikhail has been recommended; how's that? the tip from Rana is also useful there. Who can start the page? Mikhail? Rana? I'll do it right after I finish the current task. I do not mind if somebody

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Egor Pasko
On the 0x208 day of Apache Harmony Tonny Lau wrote: Hi, I checked out the latest drlvm, and failed to set breakpoint when I used gdb. It seems the harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jre/bin/java is copied from

RE: Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Morozova, Nadezhda
Egor, You're a treasure keeper, so many useful tips :) As you mentioned yourself, this info should be on the website, and I side with you on this. We actually have some debugging tips already: http://incubator.apache.org/harmony/subcomponents/drlvm/debugging_VM_and _JIT.html However, they don't

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Mark Hindess
On 20 October 2006 at 16:34, Egor Pasko [EMAIL PROTECTED] wrote: On the 0x208 day of Apache Harmony Tonny Lau wrote: Hi, I checked out the latest drlvm, and failed to set breakpoint when I used gdb. It seems the harmony/enhanced/drlvm/trunk/build/lnx_ia32_gcc_debug/deploy/jre/bin/java

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Egor Pasko
On the 0x208 day of Apache Harmony Mark Hindess wrote: On 20 October 2006 at 16:34, Egor Pasko [EMAIL PROTECTED] wrote: On the 0x208 day of Apache Harmony Tonny Lau wrote: Hi, I checked out the latest drlvm, and failed to set breakpoint when I used gdb. It seems the

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Gregory Shimansky
Egor Pasko wrote: to debug on linux you should export LD_LIBRARY_PATH for GDB: export LD_LIBRARY_PATH=$jre/bin:$jre/bin/default (you know what $jre is:) (news is that tere should be no slashess at the end of each path, and no soft links inside, surprize, surprize:) There is a useful trick

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Egor Pasko
On the 0x208 day of Apache Harmony Nadezhda Morozova wrote: Egor, You're a treasure keeper, so many useful tips :) Actually, I am not any more :) As you mentioned yourself, this info should be on the website, and I side with you on this. thank you for helping! We actually have some

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Egor Pasko
On the 0x208 day of Apache Harmony Gregory Shimansky wrote: Egor Pasko wrote: to debug on linux you should export LD_LIBRARY_PATH for GDB: export LD_LIBRARY_PATH=$jre/bin:$jre/bin/default (you know what $jre is:) (news is that tere should be no slashess at the end of each path, and no

RE: Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Morozova, Nadezhda
Egor, Thanks for a detailed an proactive response. Surely, I think we can start accumulating new content on Wiki - this is more visible and editable than patches to website. When we're done with the bulk of content, I'll migrate the stable stuff to the site. * Thaking the one above into

Re: Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Mikhail Fursov
On 10/20/06, Morozova, Nadezhda [EMAIL PROTECTED] wrote: Summing up: the decision for now = Add new pages for Wiki = - Debugging on Linux - Egor has volunteered; anybody else? - Debugging on Windows - Mikhail has been recommended; how's that? Nadya, yes I have a text that describes how to

RE: Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Morozova, Nadezhda
Yeo-hoo! Great news, Mikhail. Do you think you can also take a look at our Debugging guide on the website? I think it also gives some debugging tips on MSVS. Are any of them still valid? :) Thank you, Nadya Morozova -Original Message- From: Mikhail Fursov [mailto:[EMAIL PROTECTED]

Re: Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Mikhail Fursov
On 10/20/06, Morozova, Nadezhda [EMAIL PROTECTED] wrote: Yeo-hoo! Great news, Mikhail. Do you think you can also take a look at our Debugging guide on the website? I think it also gives some debugging tips on MSVS. Are any of them still valid? :) Part of the info about MSVC2003 debugging is

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Geir Magnusson Jr.
Morozova, Nadezhda wrote: Egor, You're a treasure keeper, so many useful tips :) As you mentioned yourself, this info should be on the website, and I side with you on this. We actually have some debugging tips already: http://incubator.apache.org/harmony/subcomponents/drlvm/debugging_VM_and

Re: [drlvm] How to debug the drlvm with gdb?

2006-10-20 Thread Rana Dasgupta
On 20 Oct 2006 19:15:46 +0700, Egor Pasko [EMAIL PROTECTED] wrote: To sum up my thoughts: * debugging_VM_and_JIT + is outdated + covers both linux and windows debugging tips intermixed + has instructions for JET tracing (quite valid) * Let's make make it 2 separate docs: Linux debugging and