From 51d6067d78461449ed056cccdd5e1467d767fdd6 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 4 Aug 2020 14:47:09 -0400 Subject: [PATCH] gdb: remove TYPE_DYN_PROP_BATON This macro is now unused. gdb/ChangeLog: * gdbtypes.h (TYPE_DYN_PROP_BATON): Remove. Change-Id: I6daead794f7ecb516cc59f9e05262c894515fad3 --- gdb/ChangeLog | 4 ++++ gdb/gdbtypes.h | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 175d28151d7..a2dbd419a7b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-08-04 Simon Marchi + + * gdbtypes.h (TYPE_DYN_PROP_BATON): Remove. + 2020-08-04 Jose E. Marchesi * configure.tgt: Set gdb_sim for bpf-*-* targets. diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index eaa4cff608d..9ea23718ffb 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) \ -- 2.30.2