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]

[Bug c++/12328] Can't set breakpoint on method taking const,non-reference/pointer scalar parameter


http://sourceware.org/bugzilla/show_bug.cgi?id=12328

--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-02-13 09:15:58 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    jkratoch@sourceware.org    2011-02-13 09:15:54

Modified files:
    gdb            : ChangeLog c-typeprint.c 
    gdb/testsuite  : ChangeLog 
Added files:
    gdb/testsuite/gdb.cp: overload-const.cc overload-const.exp 

Log message:
    gdb/
    Fix const/volatile qualifiers of C++ types, PR c++/12328.
    * c-typeprint.c (c_type_print_args): Update the function comment.  New
    variable param_type, initialize it.  Remove const/volatile qualifiers
    for language_cplus and !show_artificial.  Use param_type.

    gdb/testsuite/
    Fix const/volatile qualifiers of C++ types, PR c++/12328.
    * gdb.cp/overload-const.exp: New file.
    * gdb.cp/overload-const.cc: New file.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.12558&r2=1.12559
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/c-typeprint.c.diff?cvsroot=src&r1=1.68&r2=1.69
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2576&r2=1.2577
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/overload-const.cc.diff?cvsroot=src&r1=NONE&r2=1.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/overload-const.exp.diff?cvsroot=src&r1=NONE&r2=1.1

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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