This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] Use bfd_byte in value.h


   Date: Thu, 28 Apr 2005 12:25:52 -0400
   From: Andrew Cagney <cagney@gnu.org>

   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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]