From: Jan Kratochvil Date: Wed, 25 Jul 2012 20:19:56 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bbec57e4297367351b269ca675577dc82e8e9c14;p=binutils-gdb.git gdb/testsuite/ Fix testsuite regression after --use-deprecated-index-sections removal. * lib/mi-support.exp (gdbindex_warning_re): Update the expect string. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b0d8411a7d9..4e6723071bc 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-07-25 Jan Kratochvil + + Fix testsuite regression after --use-deprecated-index-sections removal. + * lib/mi-support.exp (gdbindex_warning_re): Update the expect string. + 2012-07-25 Jan Kratochvil Fix compatibility with Tcl before 7.5. diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 401565dfcf3..9de27dd6c75 100644 --- a/gdb/testsuite/lib/mi-support.exp +++ b/gdb/testsuite/lib/mi-support.exp @@ -31,7 +31,7 @@ global mi_inferior_tty_name set MIFLAGS "-i=mi" set thread_selected_re "=thread-selected,id=\"\[0-9\]+\"\r\n" -set gdbindex_warning_re "&\"warning: Skipping \[^\r\n\]+ \.gdb_index section in \[^\"\]+\"\r\n" +set gdbindex_warning_re "&\"warning: Skipping \[^\r\n\]+ \.gdb_index section in \[^\r\n\]+\"\r\n(?:&\"\\\\n\"\r\n)?" set library_loaded_re "=library-loaded\[^\n\]+\"\r\n(?:$gdbindex_warning_re)?" set breakpoint_re "=(?:breakpoint-created|breakpoint-deleted)\[^\n\]+\"\r\n"