aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2010-03-28 19:08:24 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2010-03-28 19:08:24 +0000
commit09248348a7b6607ea332ad21a74434bdf5db7862 (patch)
tree9d20f8d07d511bcdcc1b5da0f2f82000959bc3e4 /gdb
parent12f2d6010254125c6e272a7c1aa47b2db59a3c5d (diff)
downloadgdb-09248348a7b6607ea332ad21a74434bdf5db7862.zip
gdb-09248348a7b6607ea332ad21a74434bdf5db7862.tar.gz
gdb-09248348a7b6607ea332ad21a74434bdf5db7862.tar.bz2
gdb/testsuite/
* gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add " as $displacement" to "seen displacement message".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/break-interp.exp6
2 files changed, 8 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 29a7e9f..a187318 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-03-28 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add
+ " as $displacement" to "seen displacement message".
+
2010-03-28 Pedro Alves <pedro@codesourcery.com>
* gdb.trace/while-dyn.exp (executable): New variable.
diff --git a/gdb/testsuite/gdb.base/break-interp.exp b/gdb/testsuite/gdb.base/break-interp.exp
index c6cee04..86844ee 100644
--- a/gdb/testsuite/gdb.base/break-interp.exp
+++ b/gdb/testsuite/gdb.base/break-interp.exp
@@ -287,7 +287,7 @@ proc test_core {file displacement} {
gdb_test "set verbose on"
set test "core loaded"
- set test_displacement "seen displacement message"
+ set test_displacement "seen displacement message as $displacement"
gdb_test_multiple "core-file $corefile" $test {
-re "Using PIE \\(Position Independent Executable\\) displacement (0x\[0-9a-f\]+) " {
# Missing "$gdb_prompt $" is intentional.
@@ -367,7 +367,7 @@ proc test_attach {file displacement} {
}
set test "attach final prompt"
- set test_displacement "seen displacement message"
+ set test_displacement "seen displacement message as $displacement"
gdb_test_multiple "" $test {
-re "Using PIE \\(Position Independent Executable\\) displacement (0x\[0-9a-f\]+) " {
# Missing "$gdb_prompt $" is intentional.
@@ -484,7 +484,7 @@ proc test_ld {file ifmain trynosym displacement} {
# error code.
set test "ld.so exit"
- set test_displacement "seen displacement message"
+ set test_displacement "seen displacement message as $displacement"
gdb_test_multiple "run" $test {
-re "Using PIE \\(Position Independent Executable\\) displacement (0x\[0-9a-f\]+) " {
# Missing "$gdb_prompt $" is intentional.