Reinstate test message and replace hardcoded test command with a variable.
gdb/testsuite/ChangeLog:
2015-04-14 Luis Machado <lgustavo@codesourcery.com>
* gdb.base/bp-permanent.exp (test): Reinstate correct test message.
+2015-04-14 Luis Machado <lgustavo@codesourcery.com>
+
+ * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
+
2015-04-13 Luis Machado <lgustavo@codesourcery.com>
* gdb.base/bp-permanent.exp (test): Handle the case of being unable
# to memory manually.
set count [expr $address_after_bp - $address_bp]
for {set i 0} {$i < $count} {incr i} {
- gdb_test_multiple "p /x addr_bp\[$i\] = buffer\[$i\]" $test {
+ set test "p /x addr_bp\[$i\] = buffer\[$i\]"
+ gdb_test_multiple $test $test {
-re "Cannot access memory at address $hex.*$gdb_prompt $" {
# Some targets (QEMU for one) will disallow writes to the
# .text section under certain circumstances. It is no use