From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29830 invoked by alias); 15 Jan 2006 14:51:37 -0000 Received: (qmail 29817 invoked by uid 22791); 15 Jan 2006 14:51:36 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 15 Jan 2006 14:51:35 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k0FEpWpF024274 for ; Sun, 15 Jan 2006 15:51:32 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.4/8.13.3) with ESMTP id k0FEpV3j001112 for ; Sun, 15 Jan 2006 15:51:31 +0100 (CET) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id k0FEpVMH010877; Sun, 15 Jan 2006 15:51:31 +0100 (CET) Date: Sun, 15 Jan 2006 14:51:00 -0000 Message-Id: <200601151451.k0FEpVMH010877@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: gdb-patches@sourceware.org Subject: [commit] gdb_bytize arm-tdep.c Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-01/txt/msg00166.txt.bz2 I know there are quite a few commercial parties with interests in gdb. Whenever I encounter things like this, I'd almost say they're just a bunch of freeloaders. Heck, I'l just say it. They're a bunch of evil capitalist freeloaders. Daniel, it's things like this why we need to have -Werror by default as soon as possible. Committed as obvious. Mark Index: ChangeLog from Mark Kettenis * arm-tdep.c (arm_return_value): Change type of readbuf and writebuf arguments to `gdb_byte *'. Index: arm-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/arm-tdep.c,v retrieving revision 1.203 diff -u -p -r1.203 arm-tdep.c --- arm-tdep.c 22 Dec 2005 17:06:25 -0000 1.203 +++ arm-tdep.c 15 Jan 2006 14:44:18 -0000 @@ -1,7 +1,8 @@ /* Common target dependent code for GDB on ARM systems. Copyright (C) 1988, 1989, 1991, 1992, 1993, 1995, 1996, 1998, 1999, - 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. + 2000, 2001, 2002, 2003, 2004, 2005, 2006 + Free Software Foundation, Inc. This file is part of GDB. @@ -2258,8 +2259,8 @@ arm_store_return_value (struct type *typ static enum return_value_convention arm_return_value (struct gdbarch *gdbarch, struct type *valtype, - struct regcache *regcache, void *readbuf, - const void *writebuf) + struct regcache *regcache, gdb_byte *readbuf, + const gdb_byte *writebuf) { if (TYPE_CODE (valtype) == TYPE_CODE_STRUCT || TYPE_CODE (valtype) == TYPE_CODE_UNION