Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: DJ Delorie <dj@redhat.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: schwab@linux-m68k.org, gcc-patches@gcc.gnu.org,
	gdb-patches@sourceware.org
Subject: Re: Compilation warning in simple-object-xcoff.c
Date: Wed, 17 Jan 2018 20:48:00 -0000	[thread overview]
Message-ID: <xnbmhsw6tm.fsf@greed.delorie.com> (raw)
In-Reply-To: <83tvvkwlyn.fsf@gnu.org> (message from Eli Zaretskii on Wed, 17 Jan 2018 17:20:48 +0200)

Eli Zaretskii <eliz@gnu.org> writes:

> DJ, would the following semi-kludgey workaround be acceptable?

It would be no worse than what we have now, if the only purpose is to
avoid a warning.

Ideally, we would check to see if we're discarding non-zero values from
that offset, and not call the callback with known bogus data.  I suppose
the usefulness of that depends on how often you'll encounter 4Gb+ xcoff64
files on mingw32 ?


  reply	other threads:[~2018-01-17 20:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-16 17:45 Eli Zaretskii
2018-01-16 18:01 ` DJ Delorie
2018-01-16 18:25   ` Eli Zaretskii
2018-01-16 18:38     ` DJ Delorie
2018-01-16 22:01       ` Andreas Schwab
2018-01-17 15:21         ` Eli Zaretskii
2018-01-17 20:48           ` DJ Delorie [this message]
2018-01-18  3:25             ` Eli Zaretskii
2018-01-20 12:48               ` Eli Zaretskii
2018-01-21  5:01                 ` Ian Lance Taylor via gdb-patches
2018-01-21 15:45                   ` Eli Zaretskii
2018-01-22  4:27                     ` Joel Brobecker
2018-01-27 16:43                       ` Eli Zaretskii
2018-01-21 15:45                   ` Eli Zaretskii

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=xnbmhsw6tm.fsf@greed.delorie.com \
    --to=dj@redhat.com \
    --cc=eliz@gnu.org \
    --cc=gcc-patches@gcc.gnu.org \
    --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