[PATCH] Use correct default for target functions that return pointer
Tom Tromey
tromey@redhat.com
Tue Jan 7 21:07:00 GMT 2014
>>>>> "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
More information about the Gdb-patches
mailing list