[1/3] gdb: remove TYPE_DYN_PROP_BATON

Message ID 20200801235935.1110640-2-simon.marchi@polymtl.ca
State New
Headers show
Series
  • Remove last dynamic prop macros
Related show

Commit Message

Hannes Domani via Gdb-patches Aug. 1, 2020, 11:59 p.m.
This macro is now unused.

gdb/ChangeLog:

	* gdbtypes.h (TYPE_DYN_PROP_BATON): Remove.

Change-Id: I6daead794f7ecb516cc59f9e05262c894515fad3
---
 gdb/gdbtypes.h | 2 --
 1 file changed, 2 deletions(-)

-- 
2.28.0

Patch

diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index eaa4cff608d7..9ea23718ffb5 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -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) \