On Fri, 3 Mar 2023 at 17:50, Alexandre Oliva via Libstdc++ < libstdc++@gcc.gnu.org> wrote: > > We're getting regressions after ugprading to GDB 13 in a few of the > libstdc++ pretty-printing tests. It might seem like a GDB regression, > but that update has a new symbol reader, and Tom Tromey says it > exposes a latent problem in the pretty-printer, namely, when a name is > not defined locally in the local translation unit, GDB will look for > it in other units, and if multiple different definitions are > available, there are no guarantees as to which one it will find. > > Since libstdc++ contains units in which std::string maps to different > types, in order to ensure the tests get the std::string definition we > expect, we need std::string to be present in the debug information for > the test itself, as we already do in other tests. > > Regstrapped on x86_64-linux-gnu. Ok to install? > OK, thanks.