confusion in the `b' command

Tom Tromey tromey@redhat.com
Mon Apr 22 13:38:00 GMT 2002


>>>>> "Eli" == Eli Zaretskii <eliz@is.elta.co.il> writes:

Eli> What version of GDB is that?  Head? branch? released version?

Latest cvs trunk gdb.  (That was in my email, albeit buried a bit.)

>> * Second, that b 'x.main' would work anyway, since it is unambiguous.

Eli> I'm not sure what you mean here.  Do you mean that GDB shouldn't have
Eli> forced you to quote the string "x.main(java.lang.String[])"?

I shouldn't even have to type `(java.lang.String[])' at all.
`b x.main' is unambiguous.  There is only one `main' method in the
class `x'.

Tom



More information about the Gdb mailing list