This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
gdb and binutils branch master updated. 22c90ac1cd796561ba5e9e7eec0bc16c92f0c7e0
- From: qiyao at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 8 Jan 2014 02:47:28 -0000
- Subject: gdb and binutils branch master updated. 22c90ac1cd796561ba5e9e7eec0bc16c92f0c7e0
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 22c90ac1cd796561ba5e9e7eec0bc16c92f0c7e0 (commit)
via d64ad97c6ba5a1deb97788fd015b60459f64a753 (commit)
from f93ba80c9848d3cf4bd2a3d05d9c1f86239b60ef (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=22c90ac1cd796561ba5e9e7eec0bc16c92f0c7e0
commit 22c90ac1cd796561ba5e9e7eec0bc16c92f0c7e0
Author: Yao Qi <yao@codesourcery.com>
Date: Tue Jan 7 18:12:21 2014 +0800
Fix pointer assignment with different signedness
This patch fixes these errors below:
../../binutils-gdb/gdb/spu-linux-nat.c: In function â??spu_symbol_file_add_from_memoryâ??:
../../binutils-gdb/gdb/spu-linux-nat.c:368:3: error: pointer targets in passing argument 2 of â??spu_proc_xfer_spuâ?? differ in signedness [-Werror=pointer-sign]
../../binutils-gdb/gdb/spu-linux-nat.c:232:1: note: expected â??gdb_byte *â?? but argument is of type â??char *â??
../../binutils-gdb/gdb/spu-linux-nat.c: In function â??spu_xfer_partialâ??:
../../binutils-gdb/gdb/spu-linux-nat.c:598:7: error: pointer targets in passing argument 1 of â??strtoulstâ?? differ in signedness [-Werror=pointer-sign]
In file included from ../../binutils-gdb/gdb/defs.h:769:0,
from ../../binutils-gdb/gdb/spu-linux-nat.c:21:
../../binutils-gdb/gdb/utils.h:43:15: note: expected â??const char *â?? but argument is of type â??gdb_byte *â??
gdb:
2014-01-08 Yao Qi <yao@codesourcery.com>
* spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
(spu_xfer_partial): Cast 'buf' to 'const char *'.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=d64ad97c6ba5a1deb97788fd015b60459f64a753
commit d64ad97c6ba5a1deb97788fd015b60459f64a753
Author: Yao Qi <yao@codesourcery.com>
Date: Tue Jan 7 17:48:07 2014 +0800
Pass name to symbol_file_add_from_bfd
This patch fixes the following build error:
../../binutils-gdb/gdb/spu-linux-nat.c:383:5: error: passing argument 2 of â??symbol_file_add_from_bfdâ?? makes pointer from integer without a cast [-Werror]
In file included from ../../binutils-gdb/gdb/spu-linux-nat.c:29:0:
../../binutils-gdb/gdb/symfile.h:444:24: note: expected â??const char *â?? but argument is of type â??intâ??
../../binutils-gdb/gdb/spu-linux-nat.c:383:5: error: passing argument 3 of â??symbol_file_add_from_bfdâ?? makes integer from pointer without a cast [-Werror]
In file included from ../../binutils-gdb/gdb/spu-linux-nat.c:29:0:
../../binutils-gdb/gdb/symfile.h:444:24: note: expected â??intâ?? but argument is of type â??void *â??
../../binutils-gdb/gdb/spu-linux-nat.c:383:5: error: passing argument 5 of â??symbol_file_add_from_bfdâ?? makes integer from pointer without a cast [-Werror]
In file included from ../../binutils-gdb/gdb/spu-linux-nat.c:29:0:
../../binutils-gdb/gdb/symfile.h:444:24: note: expected â??intâ?? but argument is of type â??void *â??
../../binutils-gdb/gdb/spu-linux-nat.c:383:5: error: too few arguments to function â??symbol_file_add_from_bfdâ??
Argument 'name' was added to function symbol_file_add_from_bfd by this patch
[patchv4 4/5] Keep objfile original filename
https://sourceware.org/ml/gdb-patches/2013-09/msg00683.html
but caller of symbol_file_add_from_bfd in spu-linux-nat.c wasn't updated.
This patch fixes the build error.
gdb:
2014-01-08 Yao Qi <yao@codesourcery.com>
* spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
return value of bfd_get_filename to symbol_file_add_from_bfd.
-----------------------------------------------------------------------
Summary of changes:
gdb/ChangeLog | 11 +++++++++++
gdb/spu-linux-nat.c | 9 +++++----
2 files changed, 16 insertions(+), 4 deletions(-)
hooks/post-receive
--
gdb and binutils