This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 0987cf351276271164c94b3bc8ca54482573bda4
- From: devans at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 11 Dec 2013 00:21:03 -0000
- Subject: gdb and binutils branch master updated. 0987cf351276271164c94b3bc8ca54482573bda4
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 0987cf351276271164c94b3bc8ca54482573bda4 (commit)
from 34dc884e1711a3d00c6815bf32aa5823390ff1f6 (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=0987cf351276271164c94b3bc8ca54482573bda4
commit 0987cf351276271164c94b3bc8ca54482573bda4
Author: Doug Evans <dje@google.com>
Date: Tue Dec 10 16:20:08 2013 -0800
PR 16286
* c-lang.c (c_get_string): Ignore the declared size of the object
if a specific length is requested.
testsuite/
* gdb.python/py-value.c: #include stdlib.h, string.h.
(str): New struct.
(main): New local xstr.
* gdb.python/py-value.exp (test_value_in_inferior): Add test to
fetch a value as a string with a length beyond the declared length
of the array.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 6 ++++++
gdb/c-lang.c | 25 ++++++++++++++++++++++---
gdb/testsuite/ChangeLog | 9 +++++++++
gdb/testsuite/gdb.python/py-value.c | 17 +++++++++++++++++
gdb/testsuite/gdb.python/py-value.exp | 6 ++++++
5 files changed, 60 insertions(+), 3 deletions(-)
hooks/post-receive
--
gdb and binutils