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

Re: invoking gcj methods from gdb



Michael Koch writes:
 > 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.

I can't remember what's supposed not to be there and what broke.
Suggest you bounce this message to gdb@sourceware.org.

Andrew.



Reply to: