aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2009-06-10 09:58:19 +1000
committerBen Elliston <bje@gnu.org>2009-06-10 09:58:19 +1000
commita04ded3172cdfeb9455a79f0b9624dad9c17810e (patch)
treec24ee859310fc967eae43401165b6c92d96fd26e /config
parent9bebe7b9bfb9b02e5e4d86ad74e8ce3eb32a36b9 (diff)
downloaddejagnu-a04ded3172cdfeb9455a79f0b9624dad9c17810e.zip
dejagnu-a04ded3172cdfeb9455a79f0b9624dad9c17810e.tar.gz
dejagnu-a04ded3172cdfeb9455a79f0b9624dad9c17810e.tar.bz2
2009-06-10 Maciej W. Rozycki <macro@codesourcery.com>
* config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending breakpoints.
Diffstat (limited to 'config')
-rw-r--r--config/gdb-comm.exp4
1 files changed, 4 insertions, 0 deletions
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"
}