diff options
author | Tom Tromey <tromey@redhat.com> | 2010-02-08 20:55:43 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2010-02-08 20:55:43 +0000 |
commit | 714f19d5576e314d5b9c3b674b11bf4212a3faeb (patch) | |
tree | 6b850af87174bbcde740d2a842519fe41cd4436c /bfd | |
parent | d0c9aeb3fc18f9f77a8e173b1fb9616931f669bd (diff) | |
download | gdb-714f19d5576e314d5b9c3b674b11bf4212a3faeb.zip gdb-714f19d5576e314d5b9c3b674b11bf4212a3faeb.tar.gz gdb-714f19d5576e314d5b9c3b674b11bf4212a3faeb.tar.bz2 |
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.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions