enum enable
Andrew Cagney
ac131313@cygnus.com
Wed Jul 11 08:46:00 GMT 2001
> 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
More information about the Gdb
mailing list