This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: break jmisc.main
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: David Carlton <carlton at math dot stanford dot edu>, gdb <gdb at sources dot redhat dot com>,Michael Elizabeth Chastain <mec at shout dot net>
- Date: Thu, 13 Mar 2003 18:03:22 -0500
- Subject: Re: break jmisc.main
- References: <ro1el5bknmg.fsf@jackfruit.Stanford.EDU> <87smtqswt5.fsf@fleche.redhat.com>
On Thu, Mar 13, 2003 at 03:53:26PM -0700, Tom Tromey wrote:
> >>>>> "David" == David Carlton <carlton at math dot stanford dot edu> writes:
>
> David> Here's the scoop with the FAILs on "break jmisc.main" and "break
> David> jmisc.main(java.lang.String[]))".
>
> Thanks a lot for looking at this.
>
> David> .long .LC2 # DW_AT_name: "jmisc.main(java.lang.String[])"
> David> Sigh. GCJ should get fixed.
>
> I really don't know anything about debug info. How should this read?
>
> In the above `jmisc' is just a class. However, `java.lang' is a
> namespace. In the past at least there wasn't namespace support in
> gdb...?
Still isn't, but David is making great progress on that front.
The field should probably read just "main". Try readelf -wi on a C++
binary to see what GDB expects.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer