This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] Type cleanups


On Mon, May 13, 2002 at 06:15:02PM -0400, Andrew Cagney wrote:
> >I don't get that on the three systems I use.  Bug in the system library?
> >
> >>
> >>Hmm, I'm not sure where the necessary preprocessor definitions are
> >>coming from to make that definition visible.  I'll look in to it.
> >
> >
> >Answer:  apparently it is standards-conforming to define JB_* in
> ><setjmp.h>.  This means that all of the tm-*.h files which define JB_
> >variables are somewhat dubious.  We should probably rename our copies
> >of these constants.  And kill the ones we don't use, which amounts to
> >almost all of them.
> 
> So something like:
> 
> /^#[[:space:]]*define[[:space:]]*JB_/
> 
> should be ARIed as well?
> 
> If yes, I'll do that and add a corresponding bug report.

That sounds like a good idea to me.  These constants obviously appear
in host headers, so we shouldn't be defining them for target headers.
The references will change name naturally when the definitions do.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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