gdb tips?

Bryce McKinlay bryce@albatross.co.nz
Tue Apr 17 17:11:00 GMT 2001


Tony Kimball wrote:

> Can anybody clue me regarding how to use gdb on gcj-compiled code?
> The gdb-4.18 instructions at gcc.gnu.org/java are not useful for me
> using gdb 5.0.  The problems I encounter using gdb 5.0 with gcj
> (3.0 branch) are general symbol mangling and scoping issues --
> almost nothing I have tried works, in terms of actually
> referencing source files, functions, and variables.
> Is there a preferred gdb version?

You need a recent gdb from CVS - these are able to demangle the V3 ABI
symbols correctly, at least.

I've updated the tutorial at gcc.gnu.org/java/gdb.html to reflect
this.

regards

  [ bryce ]




More information about the Java mailing list