2001-07-02 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Fri, 6 Jul 2001 22:51:21 +0000 (22:51 +0000)
committerMichael Snyder <msnyder@vmware.com>
Fri, 6 Jul 2001 22:51:21 +0000 (22:51 +0000)
        * gdb.base/completion.exp: Don't assume that break.c is the only
source file that may contain functions named "marker".

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/completion.exp

index 40eef964408c9a0cdc497291649bfa746a2472b8..086a30eb85671879cae2a21c21769308666ca65f 100644 (file)
@@ -5,6 +5,8 @@
 
 2001-07-02  Michael Snyder  <msnyder@redhat.com>
 
+       * gdb.base/completion.exp: Don't assume that break.c is the only
+       source file that may contain functions named "marker".
        * gdb.base/corefile.exp: Quote the curly braces in regexp.
 
 2001-06-28  Andrew Cagney  <ac131313@redhat.com>
index 8c8f676d8dae7b4e56aaedcb4da6ee71134ac936..f54a50a80c66f7cf9413a9fabc9851a336ecc4d6 100644 (file)
@@ -576,7 +576,7 @@ gdb_expect  {
                       -re "marker1.*$gdb_prompt info func marker$"\
                       { send_gdb "\n"
                         gdb_expect {
-                                -re "All functions matching regular expression \"marker\":\r\n\r\nFile.*break.c:\r\nint marker1\\(\\);\r\nint marker2\\(int\\).*marker3\\(char.*char.*\\).*marker4\\(long int\\);\r\n$gdb_prompt $"\
+                                -re "All functions matching regular expression \"marker\":.*File.*break.c:\r\nint marker1\\(\\);\r\nint marker2\\(int\\).*marker3\\(char.*char.*\\).*marker4\\(long int\\);.*$gdb_prompt $"\
                                                   { pass "complete 'info func mar'"}
                                 -re ".*$gdb_prompt $" { fail "complete 'info func mar'"}
                                 timeout           {fail "(timeout) complete 'info func mar'"}