* 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 e827efdb24f59072fa9c1d0fb11bd971eb5b3e36..189425dfd98f6433a1eb6f64c3f8ef0c15ee6509 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 4d46a68cad6305b4d2ec03acbd22800f8bcd1d4c..bc87eaff6e2ffdfe77ae8cc5e7e70b33430b538e 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 '.'" ""