This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
Re: Specifying a debuginfo path independently of sysroot
- From: Sami Wagiaalla <swagiaal at redhat dot com>
- To: Ray Ruvinskiy <rruvinsk at sybase dot com>
- Cc: frysk at sourceware dot org
- Date: Fri, 13 Jun 2008 10:12:29 -0400
- Subject: Re: Specifying a debuginfo path independently of sysroot
- References: <962B19CF-9923-42EC-9732-BFE1AB7E07DB@sybase.com>
Hi Ray,
I was wondering if it was possible to pass a custom debuginfo path from
frysk to libdwfl without using the -sysroot switch.
I guess the first question is why would one want to do this ?..maybe
there is a larger problem that we should fix, also for the record :)
If this is not currently possible, I was wondering if it might be
desirable to allow for this. I wouldn't mind taking a crack at
implementing this, if given an idea as to what semantics would be desired.
If you do go for it here are a couple of things to look out for:
1) I think CommandLineParser.java would be a good spot to add it so that
the functionality tricles down to all the command line utilities.
2) We are currently in a slow switch from CNI to JNI so we have two sets
of bindings that we are maintaining. So if you do touch the bindings
make sure you update the JNI side of things... hopefully this would be
over by frysk 0.5 :)
3) It would be really cool if your patch comes with a test case. The
frysk test suite is nice to work with now-a-days. You can find examples
in Test*.java... then copy/paste and edit.
Cheers,
Sami