This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 7c245c246c23c5b3f4eef21a2f385af1c962c636
- From: brobecke at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 20 Nov 2013 17:20:32 -0000
- Subject: gdb and binutils branch master updated. 7c245c246c23c5b3f4eef21a2f385af1c962c636
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 7c245c246c23c5b3f4eef21a2f385af1c962c636 (commit)
from e48744a00a1bddd3366c25e93fee86e97c190e7b (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=7c245c246c23c5b3f4eef21a2f385af1c962c636
commit 7c245c246c23c5b3f4eef21a2f385af1c962c636
Author: Joel Brobecker <brobecker@adacore.com>
Date: Tue Nov 19 06:56:00 2013 +0400
get rid of py-value.c:is_intlike (use is_integral_type instead)
is_intlike was mostly duplicating is_integral_type, with the exception
of the handling of TYPE_CODE_PTR when parameter PTR_OK is nonzero.
This patches deletes the is_intlike function, using is_integral_type
instead, and adjusting the two locations where this function gets
called.
The code should remain strictly equivalent.
gdb/ChangeLog:
* python/py-value.c (is_intlike): Delete.
(valpy_int): Replace use of CHECK_TYPEDEF and is_intlike
by use of is_integral_type.
(valpy_long): Replace use of CHECK_TYPEDEF and is_intlike
by use of is_integral_type and check for TYPE_CODE_PTR.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 8 ++++++++
gdb/python/py-value.c | 18 +++---------------
2 files changed, 11 insertions(+), 15 deletions(-)
hooks/post-receive
--
gdb and binutils