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: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: David Taylor <dtaylor at emc dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Sun, 23 Nov 2014 20:40:13 +0100
- Subject: Re: RFA 0/2 fix for bug with large structure offsets
- Authentication-results: sourceware.org; auth=none
- References: <18829 dot 1416329565 at usendtaylorx2l>
Hi,
I have posted for this patchset:
https://sourceware.org/bugzilla/show_bug.cgi?id=17520#c1
Fedora carries for it the patchset:
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-rhbz795424-bitpos-20of25.patch
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-rhbz795424-bitpos-21of25.patch
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-rhbz795424-bitpos-22of25.patch
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-rhbz795424-bitpos-23of25.patch
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-rhbz795424-bitpos-25of25-test.patch
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-rhbz795424-bitpos-25of25.patch
http://pkgs.fedoraproject.org/cgit/gdb.git/tree/gdb-rhbz795424-bitpos-lazyvalue.patch
It was concluded that patching it before GDB is switched to C++ would be fragile as there cannot be done easy sanity checking if the inferior types width has not regressed. With C++ one can wrap the offset types into sanity-checked classes with overriden operators.
But the GDB switch to C++ takes too many years.
Jan