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]

java/1565: "(gdb) break foo.main" broken


>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:


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