diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.ada/minsyms.exp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index fa329b4..16d2801 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2017-11-21 Pedro Alves <palves@redhat.com> + + * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'. + 2017-11-20 Pedro Alves <palves@redhat.com> * gdb.base/whatis-ptype-typedefs.c (double_typedef) diff --git a/gdb/testsuite/gdb.ada/minsyms.exp b/gdb/testsuite/gdb.ada/minsyms.exp index 2c91125..9878f9f 100644 --- a/gdb/testsuite/gdb.ada/minsyms.exp +++ b/gdb/testsuite/gdb.ada/minsyms.exp @@ -35,7 +35,7 @@ gdb_test "print integer(some_minsym)" \ " = 1234" gdb_test "print &some_minsym" \ - " = \\(access <data variable, no debug info>\\) 0x62c2f8 <some_minsym>" + " = \\(access <data variable, no debug info>\\) $hex <some_minsym>" gdb_test "print /x integer(&some_minsym)" \ " = $hex" |