* gdb.base/gdb1250.exp: Remove perror.

* lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
This commit is contained in:
Daniel Jacobowitz 2008-04-30 18:25:53 +00:00
parent 939643d727
commit 6f3f3097b9
3 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-04-30 Daniel Jacobowitz <dan@codesourcery.com>
* gdb.base/gdb1250.exp: Remove perror.
* lib/mi-support.exp (mi_delete_breakpoints): Match the prompt.
2008-04-30 Pedro Alves <pedro@codesourcery.com>
* gdb.dwarf2/dw2-strp.S: Replace .long by .4byte and .value by

View File

@ -43,7 +43,6 @@ gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
if ![runto abort {allow-pending}] then {
perror "couldn't run to breakpoint"
continue
}

View File

@ -265,7 +265,7 @@ proc mi_delete_breakpoints {} {
send_gdb "103-break-list\n"
gdb_expect 30 {
-re "103-break-list\r\n103\\\^done,BreakpointTable=\{\}\r\n$mi_gdb_prompt$" {}
-re "103-break-list\r\n103\\\^done,BreakpointTable=\{nr_rows=\".\",nr_cols=\".\",hdr=\\\[\{width=\".*\",alignment=\".*\",col_name=\"number\",colhdr=\"Num\"\}.*colhdr=\"Type\".*colhdr=\"Disp\".*colhdr=\"Enb\".*colhdr=\"Address\".*colhdr=\"What\".*\\\],body=\\\[\\\]\}" {}
-re "103-break-list\r\n103\\\^done,BreakpointTable=\{nr_rows=\".\",nr_cols=\".\",hdr=\\\[\{width=\".*\",alignment=\".*\",col_name=\"number\",colhdr=\"Num\"\}.*colhdr=\"Type\".*colhdr=\"Disp\".*colhdr=\"Enb\".*colhdr=\"Address\".*colhdr=\"What\".*\\\],body=\\\[\\\]\}\r\n$mi_gdb_prompt$" {}
-re "103-break-list\r\n103\\\^doneNo breakpoints or watchpoints.\r\n\r\n$mi_gdb_prompt$" {warning "Unexpected console text received"}
-re "$mi_gdb_prompt$" { perror "Breakpoints not deleted" ; return }
-re "Delete all breakpoints.*or n.*$" {