Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Use correct default for target functions that return pointer
Date: Tue, 07 Jan 2014 21:07:00 -0000	[thread overview]
Message-ID: <8738kzfql8.fsf@fleche.redhat.com> (raw)
In-Reply-To: <871u0jbk9i.fsf@igel.home> (Andreas Schwab's message of "Tue, 07	Jan 2014 21:38:01 +0100")

>>>>> "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


      reply	other threads:[~2014-01-07 21:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-07 20:38 Andreas Schwab
2014-01-07 21:07 ` Tom Tromey [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8738kzfql8.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox