Is GDB using TYPEDEF identifiers?

Daniel Berlin dan@www.cgsoftware.com
Thu Jun 21 20:20:00 GMT 2001


On Thu, 21 Jun 2001, John S. Kallal wrote:

> I think that POSIX reserves all identifiers defined with a typedef statement
> that that end with the characters "_t" for use within the POSIX header files.
> I note that the GDB source code uses a lot a such identifiers.  Should
> we change to another suffix such as "_td" and document that requirement
> in the GDB coding rules within file 'gdbint.texinfo'?

Um, why?
POSIX says a lot of things that are well, dumb.
This is just one of them.

Besides, GDB is not beholden to POSIX.

When the C 'XX standard says not to do it, we'd probably stop doing it.

--Dan



More information about the Gdb mailing list