This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gdb tips?


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 ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]