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


-	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 ;-)


Andrew



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