This is the mail archive of the gdb@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]

Re: enum enable


>>>>> "Elena" == Elena Zannoni <ezannoni@cygnus.com> writes:
>> breakpoint.h declares `enum enable'.  This gets in the way with some of 
>> the DJGPP headers, because there's a library function by that name (which 
>> enables interrupts).
>> 
>> Is it possible to rename the enum to something less general, such as 
>> `enum bp_enable'?

Elena> I say, go for it. There is another 'enum enable' in memattr.c. This
Elena> one too will need to get a more specific name.

Note that I stole that from tracepoint.c, so you'll want to look there
as well.

        -jtc

-- 
J.T. Conklin
RedBack Networks


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