This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 0/7] more constification
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 12 Jun 2014 10:45:34 +0200
- Subject: Re: [PATCH 0/7] more constification
- Authentication-results: sourceware.org; auth=none
- References: <1402512797-6082-1-git-send-email-tromey at redhat dot com>
Hi Tom,
> Patch #6 casts away const in a couple spots. There's a justification
> in the patch; but I also wanted to add that the casts only affect
> mdebugread.c, which can't really be said to be actively maintained in
> any case.
I am wondering whether we should consider the option of deprecating
those targets that use this code. This affects alpha-tru64 and
maybe mips-linux (although - is that option still supported by
GCC? And even if it was, who would want to use that object format
instead of ELF???). It's also said to be used by some versions
of IRIX, but I am not sure that GDB works on those - the ones
we've been supporting until a few years ago were using ELF.
--
Joel