This is the mail archive of the gdb-patches@sources.redhat.com 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] |
There has been a recent change to infrun (made on 2004-01-13) that removed the choice "ask" to the possible values for "follow-fork-mode". The help text for that variable was then modified, but the test verifying that the help for this command exists has not been modified. This patch updates the expected output to match the new help text. 2004-04-04 Joel Brobecker <brobecker@gnat.com> * gdb.base/foll-fork.exp: Update the expected output for "help set follow-fork-mode", to match a change that was made to the help of this variable on 2004-01-13. Checked in as obvious. I don't really know the purpose of this test. If, as the comment suggests: # Verify that help is available for "set follow-fork-mode". Then I would recommend that we don't need to check for the entire help text word for word. I would simply check for the first line, or even maybe just check that we receive something, anything, before we get the prompt back. (BTW, Is it really necessary to use send_gdb + gdb_expect? Could gdb_test work just as well?) -- Joel
Attachment:
foll-fork.exp.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |