This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Save the length of inserted breakpoints


> Date: Mon, 17 Apr 2006 01:58:19 +0200 (CEST)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: gdb-patches@sourceware.org
> 
> > > And it obfuscates the interface.
> > 
> > I can't believe you really think that passing a struct instead of its
> > several members obfuscates the interface in any significant way; GDB's
> > code is replete with instances of passing a struct of which the caller
> > uses only a small part.
> > 
> > I understand that you want to make a point, but let's not exaggerate
> > our arguments to such a ridiculous degree.
> 
> If we don't try to make are interfaces as clean and simple as
> possible, GDB will get more difficult to maintain.

We do try to make our interfaces clean, it just happens that in this
case your notion of cleanness is very different from that of others.

In any case, ``unclean'' and ``obfuscated'' are two very different
things.  Which one is it?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]