diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-04-25 18:28:53 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-04-25 18:28:53 +0000 |
commit | 1ae0d051e5e31ea120a9f96d916c8cd9e505e4fc (patch) | |
tree | 21968acc538eb1eec61510eefe9b8744ecfe3478 /gdb | |
parent | 664f90a33173273f8b2d43508b48150ade0a1694 (diff) | |
download | gdb-1ae0d051e5e31ea120a9f96d916c8cd9e505e4fc.zip gdb-1ae0d051e5e31ea120a9f96d916c8cd9e505e4fc.tar.gz gdb-1ae0d051e5e31ea120a9f96d916c8cd9e505e4fc.tar.bz2 |
gdb/
* defs.h (ENUM_BITFIELD): Remove.
include/
* bfdlink.h (ENUM_BITFIELD): Remove.
merge from gcc:
include/
* ansidecl.h (ENUM_BITFIELD): New, from gcc/system.h.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/defs.h | 9 |
2 files changed, 4 insertions, 9 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 09681fd..5d594bd 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-04-25 Jan Kratochvil <jan.kratochvil@redhat.com> + + * defs.h (ENUM_BITFIELD): Remove. + 2011-04-24 Jan Kratochvil <jan.kratochvil@redhat.com> Eli Zaretskii <eliz@gnu.org> @@ -271,15 +271,6 @@ struct cleanup void *arg; }; -/* Be conservative and use enum bitfields only with GCC. - This is copied from gcc 3.3.1, system.h. */ - -#if defined(__GNUC__) && (__GNUC__ >= 2) -#define ENUM_BITFIELD(TYPE) enum TYPE -#else -#define ENUM_BITFIELD(TYPE) unsigned int -#endif - /* vec.h-style vectors of strings want a typedef for char * . */ typedef char * char_ptr; |