[FYI] Fix crash when setting breakpoint condition
Tom Tromey
tromey@adacore.com
Wed Jun 19 14:34:00 GMT 2019
Pedro> This is missing an intro comment mentioning what the testcase is about.
Pedro> Should say something similar to "Test Ada breakpoint conditions
Pedro> involving arrays lengths.", I suppose.
Here's what I'm checking in.
Tom
commit 899277ae529c2b743d22093fcc1a9e46aff4422a
Author: Tom Tromey <tromey@adacore.com>
Date: Wed Jun 19 08:32:35 2019 -0600
Add intro comment to length_cond.exp
Pedro pointed out that the new length_cond.exp test did not have an
intro comment. This adds one.
gdb/testsuite/ChangeLog
2019-06-19 Tom Tromey <tromey@adacore.com>
* gdb.ada/length_cond.exp: Add intro comment.
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8454b00755c..60a19eb5f0b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2019-06-19 Tom Tromey <tromey@adacore.com>
+
+ * gdb.ada/length_cond.exp: Add intro comment.
+
2019-06-19 Tom Tromey <tromey@adacore.com>
* gdb.ada/length_cond.exp: New file.
diff --git a/gdb/testsuite/gdb.ada/length_cond.exp b/gdb/testsuite/gdb.ada/length_cond.exp
index 53e9187dc4d..7a37c5f2ac5 100644
--- a/gdb/testsuite/gdb.ada/length_cond.exp
+++ b/gdb/testsuite/gdb.ada/length_cond.exp
@@ -13,6 +13,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# Regression test for a crash that would happen when setting a
+# breakpoint condition that used an array attribute.
+
load_lib "ada.exp"
standard_ada_testfile length_cond
More information about the Gdb-patches
mailing list