From 70ed37372e3753a302a1d7b01c27ecb2993bd100 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Sat, 10 Mar 2007 01:13:43 +0000 Subject: [PATCH] * gdb.base/long_long.exp: Accept optional symbol name in <...> for /a format output. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/long_long.exp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index e827efd..189425d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-03-09 Ulrich Weigand + + * gdb.base/long_long.exp: Accept optional symbol name in <...> + for /a format output. + 2007-03-09 Daniel Jacobowitz * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to diff --git a/gdb/testsuite/gdb.base/long_long.exp b/gdb/testsuite/gdb.base/long_long.exp index 4d46a68..bc87eaf 100644 --- a/gdb/testsuite/gdb.base/long_long.exp +++ b/gdb/testsuite/gdb.base/long_long.exp @@ -229,7 +229,7 @@ gdb_test_char "p/d *(char *)c" "1" gdb_test_char "p/u *(char *)c" "1" gdb_test_char "p/o *(char *)c" "01" gdb_test_char "p/t *(char *)c" "1" -gdb_test_char "p/a *(char *)c" "0x1" +gdb_test_char "p/a *(char *)c" "0x1( <.*>)?" gdb_test_char "p/f *(char *)c" "1" gdb_test_char "p/c *(char *)c" "1 '.001'" @@ -238,7 +238,7 @@ gdb_test_short "p/d *(short *)s" "" "291" "" gdb_test_short "p/u *(short *)s" "" "291" "" gdb_test_short "p/o *(short *)s" "" "0443" "" gdb_test_short "p/t *(short *)s" "" "100100011" "" -gdb_test_short "p/a *(short *)s" "" "0x123" "" +gdb_test_short "p/a *(short *)s" "" "0x123( <.*>)?" "" gdb_test_short "p/f *(short *)s" "" "291" "" gdb_test_short "p/c *(short *)s" "" "35 '.'" "" -- 2.7.4