aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-05-02 19:37:43 +0300
committerEli Zaretskii <eliz@gnu.org>2016-05-02 19:37:43 +0300
commit1270fac69d2f7e89161ccb780ce3b17466da34ea (patch)
tree52a71edbaa0e1a545c22f2ca013af8ef92863b8b /gdb/ChangeLog
parent2e1fb61c58b4a5579a43d9ff3cae8382347e323e (diff)
downloadgdb-1270fac69d2f7e89161ccb780ce3b17466da34ea.zip
gdb-1270fac69d2f7e89161ccb780ce3b17466da34ea.tar.gz
gdb-1270fac69d2f7e89161ccb780ce3b17466da34ea.tar.bz2
Fix startup on MS-Windows when 'gdb.ini' is found in $HOME
* windows-nat.c (_initialize_check_for_gdb_ini): Fix off-by-one error in allocation of space for "$HOME/.gdbinit" string. This caused GDB to abort on startup whenever a '~/gdb.ini' file was actually found, because xsnprintf would hit an assertion violation.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6d7bfb2..7d69419 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,11 @@
+2016-05-02 Eli Zaretskii <eliz@gnu.org>
+
+ * windows-nat.c (_initialize_check_for_gdb_ini): Fix off-by-one
+ error in allocation of space for "$HOME/.gdbinit" string. This
+ caused GDB to abort on startup whenever a '~/gdb.ini' file was
+ actually found, because xsnprintf would hit an assertion
+ violation.
+
2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
* cli/cli-decode.c (help_cmd_list): Do not list commands that