This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
java/1565: "(gdb) break foo.main" broken
- From: ac131313 at redhat dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 24 Feb 2004 15:50:55 -0000
- Subject: java/1565: "(gdb) break foo.main" broken
- Reply-to: ac131313 at redhat dot com
>Number: 1565
>Category: java
>Synopsis: "(gdb) break foo.main" broken
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 24 15:58:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: ac131313@redhat.com
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
>From jmisc.exp:
(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
The workaround is to specify:
(gdb) 'jmisc.main(java.lang.String[])'
but just "jmisc.main' should work :-(
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: