This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [MI non-stop 04/11] Implement --thread and --frame.
>>>>> "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.
Tom