aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--config/gdb-comm.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3618b7a..26ad20f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-06-10 Maciej W. Rozycki <macro@codesourcery.com>
+
+ * config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
+ breakpoints.
+
2008-12-03 Ben Elliston <bje@gnu.org>
* COPYING: Update to GPL version 3.
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"
}