* gdb.base/long_long.exp: Accept optional symbol name in <...>
authorUlrich Weigand <uweigand@de.ibm.com>
Sat, 10 Mar 2007 01:13:43 +0000 (01:13 +0000)
committerUlrich Weigand <uweigand@de.ibm.com>
Sat, 10 Mar 2007 01:13:43 +0000 (01:13 +0000)
for /a format output.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/long_long.exp

index e827efd..189425d 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-09  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * gdb.base/long_long.exp: Accept optional symbol name in <...>
+       for /a format output.
+
 2007-03-09  Daniel Jacobowitz  <dan@codesourcery.com>
 
        * gdb.base/checkpoint.exp: Rewrite 600 checkpoint test to
index 4d46a68..bc87eaf 100644 (file)
@@ -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 '.'" ""