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] Fix procfs_xfer_partial


   Date: Tue, 05 Oct 2004 09:18:27 -0400
   From: Andrew Cagney <cagney@gnu.org>

   > -	return (*ops->to_xfer_memory) (offset, readbuf, len, 1/*write*/,
   > +	return (*ops->to_xfer_memory) (offset, writebuf, len, 1/*write*/,
   >  				       NULL, ops);

   You'll need to cast away the constantness of writebuf.  Something 
   detected with -Werror ;-)

Darn.  Not with gcc-3.2.3.  I'll try to fix this over the weekend
(I've been away from home for a few days).

Mark


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