Browse Source

2009-06-10 Maciej W. Rozycki <macro@codesourcery.com>

* config/gdb-comm.exp (gdb_comm_add_breakpoint): Handle pending
	breakpoints.
dejagnu-1.5
Ben Elliston 17 years ago
parent
commit
a04ded3172
  1. 5
      ChangeLog
  2. 4
      config/gdb-comm.exp

5
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.

4
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"
}

Loading…
Cancel
Save