From 089ec8f1acb48082ef846d0716bb5e6d42026956 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 10 Aug 2006 13:05:18 +0000 Subject: [PATCH] * gdb.base/step-bt.exp: Make hexadecimal address optional in expected output of the backtrace commands. --- gdb/testsuite/ChangeLog | 6 ++++++ gdb/testsuite/gdb.base/step-bt.exp | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 73a0d8cae7e..0c4de89b130 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2006-08-10 Joel Brobecker + Daniel Jacobowitz + + * gdb.base/step-bt.exp: Make hexadecimal address optional in + expected output of the backtrace commands. + 2006-08-09 Joel Brobecker * gdb.arch/altivec-abi.exp: Replace gdb_suppress_entire_file with diff --git a/gdb/testsuite/gdb.base/step-bt.exp b/gdb/testsuite/gdb.base/step-bt.exp index f2cad967964..63e223deb9b 100644 --- a/gdb/testsuite/gdb.base/step-bt.exp +++ b/gdb/testsuite/gdb.base/step-bt.exp @@ -63,7 +63,7 @@ gdb_test "stepi" \ "step first instruction" gdb_test "bt" \ - "#0 +0x\[0-9a-z\]+ in hello .*#1 +0x\[0-9a-z\]* in main.*" \ + "#0 +(0x\[0-9a-z\]+ in )?hello .*#1 +(0x\[0-9a-z\]* in )?main.*" \ "backtrace after first instruction step" gdb_test "stepi" \ @@ -71,6 +71,6 @@ gdb_test "stepi" \ "step second instruction" gdb_test "bt" \ - "#0 +0x\[0-9a-z\]+ in hello .*#1 +0x\[0-9a-z\]* in main.*" \ + "#0 +(0x\[0-9a-z\]+ in )?hello .*#1 +(0x\[0-9a-z\]* in )?main.*" \ "backtrace after second instruction step" -- 2.30.2