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: [MI non-stop 04/11] Implement --thread and --frame.


On Mon, Jun 30, 2008 at 12:35:03PM -0600, Tom Tromey wrote:
> >>>>> "Michael" == Michael Snyder <msnyder@specifix.com> writes:
> 
> >> #define DSC(str) (const unsigned char *)str, sizeof str - 1
> 
> Michael> Boy... IMHO, I find that *very* obscure.
> 
> Haha, you should see the rest of libcpp ;)
> 
> Michael> I wouldn't like reading code that used that, 
> Michael> if I had no idea what it was or where it was defined.
> Michael> Granted it's also clever...
> 
> Yeah.  IME it isn't so bad once you've looked it up a couple of times.
> I don't even know what "DSC" stands for though... bah.

Maybe "descriptor"?

-- 
Daniel Jacobowitz
CodeSourcery


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