From a04ded3172cdfeb9455a79f0b9624dad9c17810e Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Wed, 10 Jun 2009 09:58:19 +1000 Subject: 2009-06-10 Maciej W. Rozycki * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending breakpoints. --- config/gdb-comm.exp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config') diff --git a/config/gdb-comm.exp b/config/gdb-comm.exp index b7dbfc3..3d46011 100644 --- a/config/gdb-comm.exp +++ b/config/gdb-comm.exp @@ -200,6 +200,10 @@ proc gdb_comm_add_breakpoint { function } { -re "Breakpoint.*$gdb_prompt $" { return "" } -re "Function.*not defined.*$gdb_prompt $" { return "undef" } -re "No symbol table.*$gdb_prompt $" { return "undef" } + -re ".*Make breakpoint pending.*\\\? \\(y or \\\[n\\\]\\) $" { + remote_send host "y\n" + return "maybe" + } default { return "untested" } -- cgit v1.1