This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PUSHED] Fix go32-nat.c build fallout from to_detach constification.
- From: Doug Evans <dje at google dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Pedro Alves <palves at redhat dot com>, Eli Zaretskii <eliz at gnu dot org>, gdb-patches <gdb-patches at sourceware dot org>
- Date: Thu, 16 Jan 2014 09:35:22 -0800
- Subject: Re: [PUSHED] Fix go32-nat.c build fallout from to_detach constification.
- Authentication-results: sourceware.org; auth=none
- References: <52D6B91C dot 2030402 at redhat dot com> <83d2jt418x dot fsf at gnu dot org> <52D6C940 dot 3040008 at redhat dot com> <21206 dot 64706 dot 812098 dot 20292 at ruffy dot mtv dot corp dot google dot com> <20140116025206 dot GP4762 at adacore dot com>
On Wed, Jan 15, 2014 at 6:52 PM, Joel Brobecker <brobecker@adacore.com> wrote:
>> + pretty bizarre. We use pulongest here because that's the established
>> + portability solution (e.g, we can use %u for uint32_t). */
> ^^^
>
> Thinko? I'd expect "cannot"...
>
>
>> + error (_("Dwarf Error: DWP file CU version %s doesn't match"
>> + " TU version %s [in DWP file %s]"),
>> + pulongest (dwp_file->cus->version),
>> + pulongest (dwp_file->tus->version), dwp_name);
>> }
>> dwp_file->version = dwp_file->cus->version;
Yikes. Fixed.