From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Blandy To: Eli Zaretskii Cc: msnyder@redhat.com, gdb-patches@sources.redhat.com, ac131313@cygnus.com Subject: Re: [RFA] enum enable Date: Mon, 16 Jul 2001 14:52:00 -0000 Message-id: References: <3B4E41B5.64FB@redhat.com> <3028-Sat14Jul2001140821+0300-eliz@is.elta.co.il> X-SW-Source: 2001-07/msg00389.html > 2001-07-14 Eli Zaretskii > > The following changes avoid polluting global namespace with the > `enable' and `disable' identifiers, because some platforms define > in their system headers symbols with global scope that go by those > names. > Why are the following changes necessary? Structure members aren't in the global namespace: > (struct breakpoint): Rename the `enable' member to `enable_state'. > (args_for_catchpoint_enable): Rename the `enable' member to > `enable_p'. All users changed. > (struct tracepoint): The member `enabled' is now `int enabled_p'. > * printcmd.c (struct display): The `status' member is now an int. > * memattr.h (struct mem_region): Rename the `status' member to > `enabled_p'.