This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. fce10a8494efa8faec67b718f25e06d3d71694b3
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 6 Jan 2015 15:10:48 -0000
- Subject: gdb and binutils branch master updated. fce10a8494efa8faec67b718f25e06d3d71694b3
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 fce10a8494efa8faec67b718f25e06d3d71694b3 (commit)
from 8503d6e1e564cb5ac61bc6e3f16c0b384c76661e (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=fce10a8494efa8faec67b718f25e06d3d71694b3
commit fce10a8494efa8faec67b718f25e06d3d71694b3
Author: Joel Brobecker <brobecker@adacore.com>
Date: Tue Jan 6 18:37:53 2015 +0400
gdb/guile: Do not error when trying to create empty array.
This fixes a similar error as in the Python support code where
trying to create an empty array.
In guile/scm-type.c::tyscm_array_1, the funtion raises an exception
if N2 < N1:
if (n2 < n1)
{
gdbscm_out_of_range_error (func_name, SCM_ARG3,
But it should be doing so if N2 == N1 - 1, since that would simply
be an empty array, not an array with a negative length.
gdb/ChangeLog:
* guile/scm-type.c (tyscm_array_1): Do not raise out-of-range
error if N2 is equal to N1 - 1.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 5 +++++
gdb/guile/scm-type.c | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
hooks/post-receive
--
gdb and binutils