This is the mail archive of the
mailing list for the libstdc++ project.
Re: Pretty printers for versioned namespace
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Mon, 13 Feb 2017 22:31:32 +0000
- Subject: Re: Pretty printers for versioned namespace
- Authentication-results: sourceware.org; auth=none
- References: <20161215145717.GB22266@redhat.com> <email@example.com> <20170104125240.GH895@redhat.com> <firstname.lastname@example.org> <20170110123911.GK13348@redhat.com> <email@example.com> <20170119212157.GP3093@redhat.com> <firstname.lastname@example.org> <20170131144204.GX3093@redhat.com> <email@example.com>
On 13/02/17 21:04 +0100, François Dumont wrote:
On 31/01/2017 15:42, Jonathan Wakely wrote:
I don't know what is the impact of it but is there a plan to allow
version 2.69 to work out of the box ?
No. It's fairly easy to use the right versions.
Just for my info, is there some blog/doc explaining why not
upgrading to latest version ? Aren't those tools better in latest
There's nothing wrong with the versions we use, and upgrading can
cause problems. I don't know the details. But it's not difficult to
use the right versions.
Otherwise thanks for your tip on how to manage this, it worked fine.
Attached is the latest patch. It is working fine with and without
However to validate it I had to manually change default
use_versioned_namespace value in register_libstdcxx_printers function.
This is because when running pretty printers tests, in the generated
.gdb file we have:
So always using default value (False) even if versioned namespace
have been activated. Can you advise on how to consider this when
running testsuite pretty printers ? Using again configuration ?
Looking for some definition in __7:: namespace in gdb-test.exp
gdb-test proc and adapt register_libstdcxx_printers call depending on
the compilation result ?
Ah, I forgot about that generated file. Something like that should