aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-08 07:27:57 -0700
committerTom Tromey <tom@tromey.com>2021-03-08 07:28:44 -0700
commit3dd93bf837b10e01864d7d223ae9d3f9b92df74e (patch)
tree6f48c2db566069ae33c55e883994927dcc1b570c /gdb/ChangeLog
parent9c79936b3df018166d53869f7f2bb2909f129e51 (diff)
downloadfsf-binutils-gdb-3dd93bf837b10e01864d7d223ae9d3f9b92df74e.zip
fsf-binutils-gdb-3dd93bf837b10e01864d7d223ae9d3f9b92df74e.tar.gz
fsf-binutils-gdb-3dd93bf837b10e01864d7d223ae9d3f9b92df74e.tar.bz2
Remove some null checks
When not parsing for completion, parse_expression ensures that the resulting expression has operations. This patch removes a couple of unnecessary checks for this situation. gdb/ChangeLog 2021-03-08 Tom Tromey <tom@tromey.com> * printcmd.c (set_command): Remove null check. * value.c (init_if_undefined_command): Remove null check.
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 d1cf966..2024f94 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2021-03-08 Tom Tromey <tom@tromey.com>
+ * printcmd.c (set_command): Remove null check.
+ * value.c (init_if_undefined_command): Remove null check.
+
+2021-03-08 Tom Tromey <tom@tromey.com>
+
* parse.c (parser_state::push_symbol, parser_state::push_dollar):
Update.
* p-exp.y (variable): Update.