python/19506 -- gdb.Breakpoint address location regression
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.ada / arrayptr.exp
index a31749863cee80ff87eedec93ccd0193ff2dd751..c5a2d4da353d4ab187f13dc2e03001aeb3cb6b3a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 2008-2012 Free Software Foundation, Inc.
+# Copyright 2008-2016 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -45,3 +45,9 @@ gdb_test "print arr_ptr (3..4)" "= \\(3 => 23, 24\\)"
 
 gdb_test "ptype string_access" "= access array \\(<>\\) of character"
 
+gdb_test "print pa_ptr.all" \
+         " = \\(10, 20, 30, 40, 50, 60, 62, 63, -23, 42\\)"
+
+gdb_test "print pa_ptr(3)" " = 30"
+
+gdb_test "print pa_ptr.all(3)" " = 30"
This page took 0.023936 seconds and 4 git commands to generate.