Re: [PATCH v2 3/3] gdb: introduce scoped debug prints

Simon Marchi via Gdb-patches
2021-01-05T21:54:15Z

On 2021-01-05 4:26 p.m., tdevries wrote:
> Yeah, that's not a bad idea.
>
> The only bit that concerns me is that there's already a -prompt switch for gdb_test_multiple, which does not add on the terminating '$', while this version does.
>
> It's probably a good idea to have the -prompt switch to behave the same in both cases.

Hmm I see. Intuitively, I'd try to make gdb_test_multiple add
the terminating $. Do you foresee some problems with that?

The prompt passed to gdb_test_multiple only appears to be used
for the various failing cases, so I don't expect that to change
any passing test (I'll give it a try).

Simon