aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-27 17:27:08 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-27 17:27:08 +0000
commitcff22675c610105a7d0a2cf13b348497d4e2fa9f (patch)
tree26f61569a97c8d2066b5e02cd087c929da3acdf2 /gdb/testsuite/lib
parent38b87a1b807c1caeee3e66f67fa94d89962bbfb4 (diff)
downloadgdb-cff22675c610105a7d0a2cf13b348497d4e2fa9f.zip
gdb-cff22675c610105a7d0a2cf13b348497d4e2fa9f.tar.gz
gdb-cff22675c610105a7d0a2cf13b348497d4e2fa9f.tar.bz2
For MI>0, output full breakpoint table header information. Output the
breakpoint table body as a list.
Diffstat (limited to 'gdb/testsuite/lib')
-rw-r--r--gdb/testsuite/lib/mi-support.exp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/mi-support.exp b/gdb/testsuite/lib/mi-support.exp
index 2a69851..2f48ebe 100644
--- a/gdb/testsuite/lib/mi-support.exp
+++ b/gdb/testsuite/lib/mi-support.exp
@@ -206,6 +206,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\\\^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.*$" {