This is the mail archive of the gdb-patches@sourceware.org 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: [PATCH] Use correct default for target functions that return pointer


>>>>> "Andreas" == Andreas Schwab <schwab@linux-m68k.org> writes:

Andreas> 	* target.c (return_null): Define.
Andreas> 	(update_current_target): Use it instead of return_zero for
Andreas> 	functions that return a pointer.

Ok.
FWIW I have a coming massive patch series that removes
nearly all uses of return_zero.  After the series there are few enough
uses that we can make this code truly type-safe.

Tom


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