This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: addr2line and the name of the executable
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: java at gcc dot gnu dot org
- Date: Tue, 18 Feb 2003 15:12:48 -0600
- Subject: Re: addr2line and the name of the executable
- Reply-to: gnustuff at thisiscool dot com
> > To resolve this, is it OK if I have a "#ifdef WIN32"-ed
> > code in gnu::gcj::runtime::NameFinder::getExecutable( )
> > that just calls the Win32 GetModuleFileName( ) function
> > to retrieve the executable file for the current process?
>
>Sounds good, altho' personally I'd put that function in a Win32 file.
>I'd like to get rid of OS specific ifdefs.
Ranjit,
Would you be willing to let me get my feet wet by trying to code
this up according to Andrew's and your specifications? The way
I learned C++ years ago was by doing it this way. Would you be
willing to give me 'til say 2359 CST (GMT - 0600) and then
take a look at it?
If you're too busy to do deal with this request or prefer doing
it yourself, I understand.
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/