aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-03-10 01:13:43 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-03-10 01:13:43 +0000
commit70ed37372e3753a302a1d7b01c27ecb2993bd100 (patch)
tree40c038705ba88beadda692299b338101ae50ecf1 /gdb/testsuite/gdb.base
parent297f699dd2b1863717421d52e4eefdbff2f1a244 (diff)
downloadgdb-70ed37372e3753a302a1d7b01c27ecb2993bd100.zip
gdb-70ed37372e3753a302a1d7b01c27ecb2993bd100.tar.gz
gdb-70ed37372e3753a302a1d7b01c27ecb2993bd100.tar.bz2
* gdb.base/long_long.exp: Accept optional symbol name in <...>
for /a format output.
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/long_long.exp4
1 files changed, 2 insertions, 2 deletions
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 '.'" ""