This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]