[commit] Do not rely on FIELD_LOC_KIND_BITPOS being zero

Pedro Alves palves@redhat.com
Tue Apr 17 14:12:00 GMT 2012


On 04/17/2012 03:05 PM, Jan Kratochvil wrote:

> On Tue, 17 Apr 2012 16:03:40 +0200, Pedro Alves wrote:
>> You're deeply confused if you think C++ invented getters/setters.
> 
> I never thought so and I never said so.  But C++ is the most easily applicable
> getters/setters-featuring language to GDB.


Yet, the patch was so simple.  There could be other reasons for a C++ switch,
but you just took an easy opportunity to jump on me.  As I'm sure I've said before
more than once, I prefer C++ over C, but I don't think C++ is currently a good idea
for GDB.  Let's not turn every suggestion to improve the sources into a C->C++
discussion, please?

-- 
Pedro Alves



More information about the Gdb-patches mailing list