This is the mail archive of the gdb-prs@sourceware.org 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/2215: GDB misformats method types with GCJ 4.1.


>Number:         2215
>Category:       java
>Synopsis:       GDB misformats method types with GCJ 4.1.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 31 19:38:01 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     drow@false.org
>Release:        CVS 2006-12-31
>Organization:
>Environment:

>Description:
GCJ 4.x includes return types in mangled method names, and displays them postfix.  GDB uses demangled names in ptype output.  The result is this strange looking construct:

type = class jmisc  extends java.lang.Object {

    void main(java.lang.String[])void;
    jmisc();
}

The return type is printed both before and after.  I have been working occasionally on patches which stop the use of the demangler for printing method signatures; that will fix this.
>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]