Fix struct, union, and enum nesting in C++
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 4f7f8b6057f7692baef865b72a1ab4f1ad47481c..d5a0737c18741981adcfa6b7cfb9b1e655421d08 100644 (file)
@@ -1,3 +1,82 @@
+2015-02-27  Tom Tromey  <tromey@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       * dwarf2-frame.c (enum cfa_how_kind, struct
+       dwarf2_frame_state_reg_info): Move out of struct
+       dwarf2_frame_state.
+       * dwarf2read.c (struct tu_stats): Move out of struct
+       dwarf2_per_objfile.
+       (struct file_entry): Move out of struct line_header.
+       (struct nextfield, struct nextfnfield, struct fnfieldlist, struct
+       typedef_field_list): Move out of struct field_info.
+       * gdbtypes.h (enum dynamic_prop_kind, union dynamic_prop_data):
+       Move out of struct dynamic_prop.
+       (union type_owner, union field_location, struct field, struct
+       range_bounds, union type_specific): Move out of struct main_type.
+       (struct fn_fieldlist, struct fn_field, struct typedef_field)
+       (VOFFSET_STATIC): Move out of struct cplus_struct_type.
+       (struct call_site_target, union call_site_parameter_u, struct
+       call_site_parameter): Move out of struct call_site.
+       * m32c-tdep.c (enum m32c_prologue_kind): Move out of struct
+       m32c_prologue.
+       (enum srcdest_kind): Move out of struct srcdest.
+       * main.c (enum cmdarg_kind): Move out of struct cmdarg.
+       * prologue-value.h (enum prologue_value_kind): Move out of struct
+       prologue_value.
+       * s390-linux-tdep.c (enum s390_abi_kind): Move out of struct
+       gdbarch_tdep.
+       * stabsread.c (struct nextfield, struct next_fnfieldlist): Move
+       out of struct field_info.
+       * symfile.h (struct other_sections): Move out of struct
+       section_addr_info.
+       * symtab.c (struct symbol_cache_slot): Move out struct
+       block_symbol_cache.
+       * target-descriptions.c (enum tdesc_type_kind): Move out of
+       typedef struct tdesc_type.
+       * tui/tui-data.h (enum tui_line_or_address_kind): Move out of
+       struct tui_line_or_address.
+       * value.c (enum internalvar_kind, union internalvar_data): Move
+       out of struct internalvar.
+       * xtensa-tdep.h (struct ctype_cache): Move out of struct
+       gdbarch_tdep.
+
+2015-02-27  Tom Tromey  <tromey@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       Rename symbols whose names are reserved C++ keywords throughout.
+
+2015-02-27  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (COMPILER): New, get it from autoconf.
+       (COMPILE.pre, CC_LD): Use COMPILER.
+       (CXX): Get from autoconf instead.
+       (CXX_FOR_TARGET): Default to g++ instead of gcc.
+       * acinclude.m4: Include build-with-cxx.m4.
+       * build-with-cxx.m4: New file.
+       * configure.ac: Call AC_PROG_CXX and GDB_AC_BUILD_WITH_CXX.
+       Disable -Werror by default if building in C++ mode.
+       (build_warnings): Add -Wno-sign-compare, -Wno-write-strings and
+       -Wno-narrowing in C++ mode.  Only enable -Wpointer-sign in C mode.
+       Run supported-warning-flags tests with the C++ compiler.
+       Save/restore CXXFLAGS too.
+       * configure: Regenerate.
+
+2015-02-27  Pedro Alves  <palves@redhat.com>
+
+       * libiberty.m4: New file.
+       * acinclude.m4: Include libiberty.m4.
+       * configure.ac: Call libiberty_INIT.
+       * config.in, configure: Regenerate.
+
+2015-02-27  Andreas Arnez  <arnez@linux.vnet.ibm.com>
+
+       * s390-linux-tdep.c (s390_gcc_target_options): Not just handle
+       31-bit targets, but 64-bit targets as well.
+       (s390_gnu_triplet_regexp): New function.
+       (s390_gdbarch_init): Set the gcc_target_options gdbarch method for
+       64-bit targets as well.  Set the gnu_triplet_regexp gdbarch
+       method.
+
 2015-02-27  Jon TURNEY  <jon.turney@dronecode.org.uk>  (tiny patch)
 
        * windows-nat.c (CONTEXT_DEBUGGER): Remove.
This page took 0.024839 seconds and 4 git commands to generate.