This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Avoid producing broken non-native core files
- From: Tom Tromey <tromey at redhat dot com>
- To: Steve Ellcey <sellcey at mips dot com>
- Cc: "Maciej W. Rozycki" <macro at codesourcery dot com>, Pedro Alves <palves at redhat dot com>, <gdb-patches at sourceware dot org>
- Date: Tue, 29 Oct 2013 11:38:52 -0600
- Subject: Re: [PATCH] Avoid producing broken non-native core files
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot DEB dot 1 dot 10 dot 1310190205580 dot 12843 at tp dot orcam dot me dot uk> <1383066110 dot 2558 dot 177 dot camel at ubuntu-sellcey>
Steve> I do not get this error when using a newer GCC (like 4.4.3 or above). I
Steve> can work around it by setting siginfo_size to 0 when it is declared. I
Steve> don't know if there is a minimum GCC version required for building gdb
Steve> but my build with GCC 4.1.2 used to work. Do you think initializing
Steve> siginfo_size is reasonable to allow us to use older GCC's to build gdb?
FWIW, it's routine to commit changes like that in response to any
complaint.
Tom