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: [0/2] Inspect extra signal information


> From: Pedro Alves <pedro@codesourcery.com>
> Date: Tue, 13 Jan 2009 11:05:34 +0000
> Cc: Mark Kettenis <mark.kettenis@xs4all.nl>
> 
> On Monday 12 January 2009 23:24:16, Mark Kettenis wrote:
> 
> > One thing I wonder about is whether it really is a good idea to is the
> > obfuscated typenames like __uid_t instead of a straight uid_t.  I
> > realize that is the way the type is defined in headers, but in GDB we
> > don't really have to worry about namespace pollution.
> 
> I don't really have much of an opinion here.  I didn't think of a reason
> to be different, so I just cloned the types from glibc's headers.  I
> can change that if you think it's important.

I happen to agree with Mark.  Not only we don't need to use symbols
with leading underscores, it's actually forbidden by the C Standard
(AFAIK).  Such names are "reserved for the implementation" of the C
language, which we aren't.


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