+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.
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.
}
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.
# 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.