Make "p S::method() const::static_var" work too
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
index ddea68bd53e672362bb7fb83e6f92ef09b137204..e53192283eaa515c3f25f7027e8f3f64dbc253cd 100644 (file)
@@ -1,3 +1,15 @@
+2017-09-04  Pedro Alves  <palves@redhat.com>
+
+       * gdb.base/func-static.c (S::method const, S::method volatile)
+       (S::method volatile const): New methods.
+       (c_s, v_s, cv_s): New instances.
+       (main): Call method() on them.
+       * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
+       (cannot_resolve): New procedure.
+       (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
+       print-quote-unquoted columns.
+       (do_test): Test printing each scope too.
+
 2017-09-04  Pedro Alves  <palves@redhat.com>
 
        * gdb.base/local-static.exp: Also test with
This page took 0.026975 seconds and 4 git commands to generate.