Re: [PATCH] Disable bracketed paste mode in GDB tests

Tom Tromey
2021-01-22T15:18:11Z

Tom> Hmm. I do see this with the system gdb:
Tom> readline: /tmp/INP: line 1: foo: unknown variable name

I see it now with my built gdb as well.
I don't know why I did not see it before :(

Tom> Also I am not sure about the $if solution, given that readline 8.1 has a
Tom> bug here. We can fix that in-tree, but that fix won't work for a system
Tom> readline build. Ugh.

Using the $if-less patch will cause a warning, but apparently this does
not negatively affect the tests.

On the other hand, the patch using $if will cause many failures if gdb
is linked against a version of Readline 8.1 with the $if bug.

So, I think the best approach is to use the variant without the $if.

Tom