diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-07-25 20:19:56 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2012-07-25 20:19:56 +0000 |
commit | bbec57e4297367351b269ca675577dc82e8e9c14 (patch) | |
tree | 0b5bf311f9d970ba9560efb19a5ecc1b1ec29113 | |
parent | 9cc8e32c67048524f87488aec68cee059c242613 (diff) | |
download | gdb-bbec57e4297367351b269ca675577dc82e8e9c14.zip gdb-bbec57e4297367351b269ca675577dc82e8e9c14.tar.gz gdb-bbec57e4297367351b269ca675577dc82e8e9c14.tar.bz2 |
gdb/testsuite/
Fix testsuite regression after --use-deprecated-index-sections removal.
* lib/mi-support.exp (gdbindex_warning_re): Update the expect string.
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/lib/mi-support.exp | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index b0d8411..4e67230 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2012-07-25 Jan Kratochvil <jan.kratochvil@redhat.com> + 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 <jan.kratochvil@redhat.com> + Fix compatibility with Tcl before 7.5. * lib/future.exp (lreverse): New function if it does not exist. diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp index 401565d..9de27dd 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" |