This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gdb tips?
- To: alk at pobox dot com
- Subject: Re: gdb tips?
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Wed, 18 Apr 2001 12:12:12 +1200
- CC: java at gcc dot gnu dot org
- References: <15068.50225.141586.432879@spanky.love.edu>
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 ]