This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 88db67effd5c083011397a00e40fe03ea70629d8
- From: qiyao at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 23 Nov 2014 06:28:15 -0000
- Subject: gdb and binutils branch master updated. 88db67effd5c083011397a00e40fe03ea70629d8
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 88db67effd5c083011397a00e40fe03ea70629d8 (commit)
from 576054f170b1d1a2ab8c9473798193fcd5687c3a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=88db67effd5c083011397a00e40fe03ea70629d8
commit 88db67effd5c083011397a00e40fe03ea70629d8
Author: Yao Qi <yao@codesourcery.com>
Date: Sun Nov 23 13:57:00 2014 +0800
Refine read_string
In read_string, we have this line
chunksize = (len == -1 ? min (8, fetchlimit) : fetchlimit);
but chunksize is only used in the block that lne == -1, so IWBN to
move chunksize to the block in which it is used, and simplify the
condition setting chunksize. This patch also moves 'found_nul' to
inner block. This patch also splits a paragraph of comment into two,
and move them to different condition blocks (len > 0 and len == -1)
respectively.
gdb:
2014-11-23 Yao Qi <yao@codesourcery.com>
* valprint.c (read_string): Move local variables 'found_nul',
'chunksize' and 'limit' to inner scope. Update comments.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 5 +++++
gdb/valprint.c | 29 ++++++++++++++---------------
2 files changed, 19 insertions(+), 15 deletions(-)
hooks/post-receive
--
gdb and binutils