gdb: remove TYPE_DYN_PROP_BATON
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 4 Aug 2020 18:47:09 +0000 (14:47 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 4 Aug 2020 18:47:10 +0000 (14:47 -0400)
This macro is now unused.

gdb/ChangeLog:

* gdbtypes.h (TYPE_DYN_PROP_BATON): Remove.

Change-Id: I6daead794f7ecb516cc59f9e05262c894515fad3

gdb/ChangeLog
gdb/gdbtypes.h

index 175d28151d70f7fb3be602c2e6d434fae95acf36..a2dbd419a7b00d5b77691cb0a0db130d836d1b09 100644 (file)
@@ -1,3 +1,7 @@
+2020-08-04  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdbtypes.h (TYPE_DYN_PROP_BATON): Remove.
+
 2020-08-04  Jose E. Marchesi  <jose.marchesi@oracle.com>
 
        * configure.tgt: Set gdb_sim for bpf-*-* targets.
index eaa4cff608d7754f1c2cc4aeb1a299bd0b57496d..9ea23718ffb5089b2c77fceaaabb6320b92ef1d3 100644 (file)
@@ -1636,8 +1636,6 @@ extern bool set_type_align (struct type *, ULONGEST);
   ((thistype)->dyn_prop (DYN_PROP_ASSOCIATED))
 
 /* Attribute accessors for dynamic properties.  */
-#define TYPE_DYN_PROP_BATON(dynprop) \
-  dynprop->data.baton
 #define TYPE_DYN_PROP_ADDR(dynprop) \
   (dynprop->const_val ())
 #define TYPE_DYN_PROP_KIND(dynprop) \