Make sect_offset and cu_offset strong typedefs instead of structs
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index de8ed99b62a780a7548ef883da74a4538e024708..78443605f315b29b0eead4f599361809064a00d9 100644 (file)
@@ -1,3 +1,28 @@
+2017-04-04  Pedro Alves  <palves@redhat.com>
+
+       * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add
+       unittests/offset-type-selftests.c.
+       (SUBDIR_UNITTESTS_OBS): Add offset-type-selftests.o.
+       * common/offset-type.h: New file.
+       * common/preprocessor.h: New file.
+       * common/traits.h: New file.
+       * common/valid-expr.h: New file.
+       * dwarf2expr.c: Include "common/underlying.h".  Adjust to use
+       sect_offset and cu_offset strong typedefs throughout.
+       * dwarf2expr.h: Adjust to use sect_offset and cu_offset strong
+       typedefs throughout.
+       * dwarf2loc.c: Include "common/underlying.h".  Adjust to use
+       sect_offset and cu_offset strong typedefs throughout.
+       * dwarf2read.c: Adjust to use sect_offset and cu_offset strong
+       typedefs throughout.
+       * gdbtypes.h: Include "common/offset-type.h".
+       (cu_offset): Now an offset type (strong typedef) instead of a
+       struct.
+       (sect_offset): Likewise.
+       (union call_site_parameter_u): Rename "param_offset" field to
+       "param_cu_off".
+       * unittests/offset-type-selftests.c: New file.
+
 2017-04-04  Pedro Alves  <palves@redhat.com>
 
        * common/underlying.h: New file.
This page took 0.041315 seconds and 4 git commands to generate.