This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java/1039: regression: cannot set breakpoint on jmisc.main(java.lang.String[])


The following reply was made to PR java/1039; it has been noted by GNATS.

From: Michael Elizabeth Chastain <mec at shout dot net>
To: carlton at math dot stanford dot edu, gdb-gnats at sources dot redhat dot com
Cc:  
Subject: Re: java/1039: regression: cannot set breakpoint on jmisc.main(java.lang.String[])
Date: Fri, 28 Feb 2003 17:12:23 -0600

 Hi David,
 
 > I'm using gcj 2.95.3.  Michael doesn't test this with that version of
 > gcj, because of the binutils problem.  So that's probably the reason
 > for our difference in the test results.  Unfortunately, for various
 > reasons (disk space, largely), I'm not too likely to install a newer
 > version of gcj on this machine any time soon, though I might soon have
 > a newer gcj on a different machine.
 
 Actually, I don't test with gcj 2.95.3 because gcj is not builtin
 with gcc (gnu compiler collection) 2.95.3.
 
 I'm okay with restricting Java support to gcc 3.X or later,
 for some value of X.
 
 > I'll prepare a patch and e-mail it to Michael.
 
 Works for me.
 
 > In the mean time, there is a workaround for this specific issue, in
 > that 'break jmisc.main' works.  It's only when you specify the type of
 > the argument that you run into problems.
 
 Mmmm, that is jmisc.exp, and that has *not* been working for me
 for a long time.
 
   (gdb) break jmisc.main
   the class jmisc does not have any method named main
   Hint: try 'jmisc.main<TAB> or 'jmisc.main<ESC-?>
   (Note leading single quote.)
   (gdb) FAIL: gdb.java/jmisc.exp: setting breakpoint at jmisc.main
 
 Michael C
 


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