aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorGary Benson <gbenson@redhat.com>2014-08-04 14:03:21 +0100
committerGary Benson <gbenson@redhat.com>2014-08-29 10:12:01 +0100
commite0e6bcab5971ea4ad7c4f2efa5c8164c8383caf6 (patch)
tree59b15b72cc16e3c746e7990d63086b0fb2145f38 /gdb/ChangeLog
parent0d2f5c0791fda17ebbc503c5e7716fcb619318fc (diff)
downloadgdb-e0e6bcab5971ea4ad7c4f2efa5c8164c8383caf6.zip
gdb-e0e6bcab5971ea4ad7c4f2efa5c8164c8383caf6.tar.gz
gdb-e0e6bcab5971ea4ad7c4f2efa5c8164c8383caf6.tar.bz2
Replace hardwired error handlers in tui_initialize_io
tui_initialize_io contains a pair of hardwired fprintf/exit error handlers. I was unable to find any documentation as to why they're hardwired (the code appeared in a monolithic block back in 2001: https://sourceware.org/ml/gdb-patches/2001-07/msg00490.html) and I was also unable to come up with a situation where error would not be suitable, so I have replaced both handlers with calls to error. gdb/ChangeLog: * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit pairs with calls to error. Wrap the message with _().
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 9f02aad..809afe5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
2014-08-29 Gary Benson <gbenson@redhat.com>
+ * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
+ pairs with calls to error. Wrap the message with _().
+
+2014-08-29 Gary Benson <gbenson@redhat.com>
+
* utils.c (vwarning): Protect calls to target_terminal_ours
and wrap_here.