Re: [PATCH] gdb.base/setshow.exp: fix racy tests (PR testsuite/12649)

Tom Tromey
2011-04-19T12:52:51Z

>>>>> "Marek" == Marek Polacek <mpolacek@redhat.com> writes:

Tom> I think this should not be needed.

Marek> It is needed. Not that I'd see WHY it is so. But this is what I
Marek> get without those "\\":

Marek> FAIL: gdb.base/setshow.exp: set radix 11

Maybe gdb.log says something, or maybe running with --verbose would
help.

Also, looking at the code, it seems to me that the section that sets the
prompt to "(FooBarBaz) " should also set and restore gdb_prompt. That
is because gdb_test_multiple references this. What do you think?

Tom