From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Eli Zaretskii Cc: gdb@sources.redhat.com Subject: Re: enum enable Date: Wed, 11 Jul 2001 08:46:00 -0000 Message-id: <3B4C5FCE.7060908@cygnus.com> References: X-SW-Source: 2001-07/msg00093.html > 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). I hit this when trying to fix some of the include header problems several years back. Neadless to say I ducked the issue. > Is it possible to rename the enum to something less general, such as > `enum bp_enable'? My preference is for memattr.c to use ``int enabled_p'' and for breakpoint.h to use something like ``enum bp_state { bp_enabled, ...''. Andrew