This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/8017] overloaded static member functions
- From: "cvs-commit at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 8 Feb 2010 20:55:56 -0000
- Subject: [Bug c++/8017] overloaded static member functions
- References: <20030108091802.8017.kraftche@cae.wisc.edu>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-02-08 20:55 -------
Subject: Bug 8017
CVSROOT: /cvs/src
Module name: src
Changes by: tromey@sourceware.org 2010-02-08 20:55:43
Modified files:
gdb : ChangeLog eval.c valops.c value.h
gdb/testsuite : ChangeLog
gdb/testsuite/gdb.cp: overload.cc overload.exp
Log message:
gdb
PR c++/8017:
* value.h: Update.
* valops.c (search_struct_field): Make 'name' const.
(search_struct_method): Likewise.
(find_method_list): Make 'method' const.
(value_struct_elt): Make 'name' and 'err' const.
(value_find_oload_method_list): Make 'method' const.
(find_overload_match): Make 'name' const.
* eval.c (evaluate_subexp_standard): New locals function,
function_name.
<OP_FUNCALL>: Handle OP_SCOPE specially.
gdb/testsuite
PR c++/8017:
* gdb.cp/overload.exp: Add tests.
* gdb.cp/overload.cc (struct K): New.
(namespace N): New.
(main): Call new functions.
(K::staticoverload): Define.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.11336&r2=1.11337
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/eval.c.diff?cvsroot=src&r1=1.126&r2=1.127
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/valops.c.diff?cvsroot=src&r1=1.236&r2=1.237
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/value.h.diff?cvsroot=src&r1=1.153&r2=1.154
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/ChangeLog.diff?cvsroot=src&r1=1.2126&r2=1.2127
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/overload.cc.diff?cvsroot=src&r1=1.3&r2=1.4
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/testsuite/gdb.cp/overload.exp.diff?cvsroot=src&r1=1.13&r2=1.14
--
http://sourceware.org/bugzilla/show_bug.cgi?id=8017
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.