aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-07-13 15:53:44 -0600
committerTom Tromey <tom@tromey.com>2019-08-20 16:22:04 -0600
commit0f8d8876d98305671a19b5bf88f125d4d02c7e0f (patch)
treed4573172a5b7577a54c463bcced42afa74cb7dd0 /gdb/ChangeLog
parent605dc2c21d145b9eeaa2456dd43512ef28e02dbd (diff)
downloadgdb-0f8d8876d98305671a19b5bf88f125d4d02c7e0f.zip
gdb-0f8d8876d98305671a19b5bf88f125d4d02c7e0f.tar.gz
gdb-0f8d8876d98305671a19b5bf88f125d4d02c7e0f.tar.bz2
Remove NULL check from tui_reg_command
tui_reg_command has an unnecessary NULL check. The preceding call to tui_reg_layout will ensure the window exists. This patch removes the check. gdb/ChangeLog 2019-08-20 Tom Tromey <tom@tromey.com> * tui/tui-regs.c (tui_reg_command): Remove NULL check.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index c4a1179..ce64e7a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2019-08-20 Tom Tromey <tom@tromey.com>
+ * tui/tui-regs.c (tui_reg_command): Remove NULL check.
+
+2019-08-20 Tom Tromey <tom@tromey.com>
+
* tui/tui-source.h (struct tui_source_window): Update.
* tui/tui-regs.c (tui_show_registers): Update.
* tui/tui-disasm.h (struct tui_disasm_window): Update.