From 09248348a7b6607ea332ad21a74434bdf5db7862 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sun, 28 Mar 2010 19:08:24 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add " as $displacement" to "seen displacement message". --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/break-interp.exp | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 29a7e9f0472..a187318154a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-03-28 Jan Kratochvil + + * gdb.base/break-interp.exp (test_core, test_attach, test_ld): Add + " as $displacement" to "seen displacement message". + 2010-03-28 Pedro Alves * 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 c6cee04fb3b..86844ee2c42 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. -- 2.30.2