[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: invoking gcj methods from gdb



On Sat, Feb 25, 2006 at 03:45:43AM -0500, Daniel Risacher wrote:
> 
> While using gdb to debug my native-compiled application, I can step,
> backtrace, examine local variables, etc.
> 
> But I cannot seem to invoke a method - doing so causes a segfault.
> 
> i.e. 'print simplevar' works, but 'print obj.method()' does not.
> 
> Is this normal?  Is there a workaround?  Is it just me?
> 
> [p.s. using gdb 6.4-debian, gcj (GCC) 4.0.3 20060212 (prerelease) (Debian 4.0.2-9)]

Thats not supported yet and afaik there are some things missing in gdb
for it. as far as I understood. Maybe gcj misses some other parts too.


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/



Reply to: