From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13238 invoked by alias); 28 Apr 2005 19:19:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 13214 invoked from network); 28 Apr 2005 19:19:38 -0000 Received: from unknown (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 28 Apr 2005 19:19:38 -0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id j3SJJNOe009221; Thu, 28 Apr 2005 21:19:23 +0200 (CEST) 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 j3SJJMf7006244; Thu, 28 Apr 2005 21:19:22 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.4/8.13.4/Submit) id j3SJJKF1011501; Thu, 28 Apr 2005 21:19:20 +0200 (CEST) Date: Thu, 28 Apr 2005 19:19:00 -0000 Message-Id: <200504281919.j3SJJKF1011501@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: cagney@gnu.org CC: gdb-patches@sources.redhat.com In-reply-to: <42710E90.3030300@gnu.org> (message from Andrew Cagney on Thu, 28 Apr 2005 12:25:52 -0400) Subject: Re: [commit] Use bfd_byte in value.h References: <42710E90.3030300@gnu.org> X-SW-Source: 2005-04/txt/msg00393.txt.bz2 Date: Thu, 28 Apr 2005 12:25:52 -0400 From: Andrew Cagney This changes value.h to use bfd_byte more consistently. When trying to fix the signed (string) VS unsigned (buffer) pointer warnings you very quickly run into these interfaces. Hacking on a mac again? Anyway, to place my previous comments about this issue in a context, this really is analogous to strxxx() versus memxxx(). This gives a clue to what the proper pointer type for these buffers is: `void *'. I guess GDB's K&R history really shows here. Does converting to `void *' require more effort than simply replacing things with `bfd_byte *'? Mark