Re: invoking gcj methods from gdb
> "Andrew" == Andrew Haley <[EMAIL PROTECTED]> writes: >> > i.e. 'print simplevar' works, but 'print obj.method()' does not. Andrew> I can't remember what's supposed not to be there and what broke. Inferior method calls for java methods was never implemented. Tom -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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 [EMAIL PROTECTED] Andrew. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
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/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
invoking gcj methods from gdb
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)] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]