aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2014-01-29 20:17:20 +0200
committerEli Zaretskii2014-01-29 20:17:20 +0200
commit824a51e6a51e5065a24c918c4aab736ba075c5fc (patch)
tree52fbbad2b15e68de5863fe2839f22e7533179e6c /src/ChangeLog
parent46f4dd40e57e670fcdf4c8a7be3c7193f9c5d27b (diff)
downloademacs-824a51e6a51e5065a24c918c4aab736ba075c5fc.tar.gz
emacs-824a51e6a51e5065a24c918c4aab736ba075c5fc.zip
Fix printing empty Lisp strings.
src/.gdbinit (xprintstr, xprintbytestr): Don't use repetition count of zero to print strings, GDB doesn't like it.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 33ffc40d8c1..86c07c52937 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12014-01-29 Eli Zaretskii <eliz@gnu.org> 12014-01-29 Eli Zaretskii <eliz@gnu.org>
2 2
3 * .gdbinit (xprintstr, xprintbytestr): Don't use repetition count
4 of zero to print strings, GDB doesn't like it.
5
3 * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE, not 6 * print.c (print_object): Use FETCH_STRING_CHAR_ADVANCE, not
4 STRING_CHAR_AND_LENGTH, so that if the string is relocated by GC, 7 STRING_CHAR_AND_LENGTH, so that if the string is relocated by GC,
5 we still use correct addresses. (Bug#16576) 8 we still use correct addresses. (Bug#16576)