This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 26f2dc3065ea8621b898fe5b98ef19afbf02aaf7
- From: tromey at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 20 Jun 2014 14:46:48 -0000
- Subject: gdb and binutils branch master updated. 26f2dc3065ea8621b898fe5b98ef19afbf02aaf7
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 26f2dc3065ea8621b898fe5b98ef19afbf02aaf7 (commit)
from 698b3e08336ffac76d45d9ddb6a85ae166098140 (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=26f2dc3065ea8621b898fe5b98ef19afbf02aaf7
commit 26f2dc3065ea8621b898fe5b98ef19afbf02aaf7
Author: Tom Tromey <tromey@redhat.com>
Date: Fri Jun 13 13:08:23 2014 -0600
make obstack object allocators more type-safe
This changes OBSTACK_ZALLOC and OBSTACK_CALLOC to cast their value to
the correct type. This is more type-safe and also is more in line
with the other object-allocation macros in libiberty.h.
Making this change revealed one trivial error in dwarf2read.c.
On the whole that seems pretty good to me.
Tested by rebuilding.
2014-06-20 Tom Tromey <tromey@redhat.com>
* dwarf2read.c (dw2_get_real_path): Use correct type in
OBSTACK_CALLOC.
* gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 6 ++++++
gdb/dwarf2read.c | 2 +-
gdb/gdb_obstack.h | 6 +++---
3 files changed, 10 insertions(+), 4 deletions(-)
hooks/post-receive
--
gdb and binutils