This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA 0/2 fix for bug with large structure offsets
- From: Yao Qi <yao at codesourcery dot com>
- To: David Taylor <dtaylor at usendtaylorx2l dot lss dot emc dot com>
- Cc: "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 12 Dec 2014 11:56:53 +0800
- Subject: Re: RFA 0/2 fix for bug with large structure offsets
- Authentication-results: sourceware.org; auth=none
- References: <18829 dot 1416329565 at usendtaylorx2l> <23959 dot 1418329569 at usendtaylorx2l>
David Taylor <dtaylor@usendtaylorx2l.lss.emc.com> writes:
> In the slightly over three weeks since I posted this and the two related
> parts, I have seen only two replies off list, nothing on list.
>
> This bug is affecting us and I'd like some version of a fix for it to go
> in. Any chance?
It is worried that we can't verify the type width change like this.
Personally, I don't see the point GDB-switch-to-C++ block the changes,
either from your patch or from Fedora GDB's patches, although I agree
that it is easier to do sanity check in C++.
If it is practical to turn on -Wconversion and people here agree to do
so, we can do it first to pave the way for your patch, and convince
people your patch is safe enough. Last time I tried turning
-Wconversion on, it causes a huge number of warnings. :-/
--
Yao (éå)