public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "dtaylor at usendtaylorx2l dot lss.emc.com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/17520] structure offset wrong when 1/4 GB or greater
Date: Mon, 24 Nov 2014 21:32:00 -0000	[thread overview]
Message-ID: <bug-17520-4717-CQekuWYZp9@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-17520-4717@http.sourceware.org/bugzilla/>

https://sourceware.org/bugzilla/show_bug.cgi?id=17520

--- Comment #4 from dtaylor at usendtaylorx2l dot lss.emc.com ---
jan.kratochvil at redhat dot com <sourceware-bugzilla@sourceware.org> wrote:

> https://sourceware.org/bugzilla/show_bug.cgi?id=17520
> 
> --- Comment #3 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
> I do not know how to verify they are correct.  That is there is no accidental
> 32bitvar=64bitvar; assignment or similar.  While that may be possible with some
> LLVM static analysis I have been waiting for C++ which would make it easier. 
> But then we are (were) all waiting on that approval of C++ switch.
> 
> -- 
> You are receiving this mail because:
> You reported the bug.

I don't care whether it's my patch or Red Hat's or someone else's, so
long as the bug is fixed.

The bug affects us and we want it fixed.  I would rather not have to
reapply the patch for each release.

If problems are found with the patch, generally they are easy to fix --
find the ooffending variable and change it from int to LONGEST.

I configured GDB with --enable-werror.  I started by changing everything
that I cou8ld find that was going to cause problems and then iterated
until everything built and ran with no regressions.

There a couple of places where I wasn't certain that it needed to be
converted, but I figured better safe than sorry.

If people are truly worried about it destabilizing GDB, then the right
approach is to put it in early -- to get as much mileage as possible on
it before the next release.

With regard to GDB moving to C++ -- it might happen, it has certainly
been talked about on and off for enough years, but as whether it will
ever happen -- who knows.  But, I am not going hold my breath.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


  parent reply	other threads:[~2014-11-24 21:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 14:36 [Bug gdb/17520] New: " dtaylor at emc dot com
2014-11-23 19:39 ` [Bug gdb/17520] " jan.kratochvil at redhat dot com
2014-11-24 20:41 ` sergiodj at redhat dot com
2014-11-24 20:49 ` jan.kratochvil at redhat dot com
2014-11-24 21:32 ` dtaylor at usendtaylorx2l dot lss.emc.com [this message]
2015-05-03 12:01 ` jburgess777 at gmail dot com

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=bug-17520-4717-CQekuWYZp9@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).