aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-12-27 13:36:55 -0700
committerTom Tromey <tom@tromey.com>2020-12-27 13:36:55 -0700
commitc8f02daac9e367c7c2dc4c3ce08e85c733a56c7c (patch)
treec9c0eff97eb5493330f2515f10d9d79a5b1af068 /gdb/ChangeLog
parent9e87bc7f0fe304ba506bd26c8d818dd57b7d0eb4 (diff)
downloadgdb-c8f02daac9e367c7c2dc4c3ce08e85c733a56c7c.zip
gdb-c8f02daac9e367c7c2dc4c3ce08e85c733a56c7c.tar.gz
gdb-c8f02daac9e367c7c2dc4c3ce08e85c733a56c7c.tar.bz2
Simplify MULTI_SUBSCRIPT implementation
The MULTI_SUBSCRIPT code in evaluate_subexp_standard has a comment saying that perhaps the EVAL_SKIP handling is incorrect. This patch simplifies this code. In particular, it precomputes all the indices in a separate loop and removes some complicated flow-control. Tested using the gdb.modula2 and gdb.dlang test suites, as these are the only parsers that emit MULTI_SUBSCRIPT. gdb/ChangeLog 2020-12-27 Tom Tromey <tom@tromey.com> * eval.c (evaluate_subexp_standard) <case MULTI_SUBSCRIPT>: Simplify.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 649652e..449afdc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2020-12-27 Tom Tromey <tom@tromey.com>
+
+ * eval.c (evaluate_subexp_standard) <case MULTI_SUBSCRIPT>:
+ Simplify.
+
2020-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
PR gdb/27059