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: [PATCH] constify to_attach


Joel> I searched the GDB wiki about C99, and there were no hits. I am
Joel> wondering if we should be starting a list of C99 features we think
Joel> would be worthwhile to allow. This one would definitely be on my list!

I like designated init, "//" comments, varargs macros, "for (int i = ...",
_Bool, and even declaring variables at point of use (but I know others
dislike this one).

I see C99 as a convenience upgrade.  None of those things will markedly
improve gdb's quality, they may just make the hacking marginally nicer.
For me of course C99 is the runner-up choice ...

Joel> Perhaps we can also list some of the issues that would prevent us
Joel> from adopting a subset of C99 (Eg: fear if missing checks against
Joel> disallowed features)?

IIRC there was some concern about library issues.
Or maybe that GCC doesn't implement all the IEEE additions?
I don't really remember now.  It's in the list archives.

Tom


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