From c76e5b9e5096fa144723ec2ca541c1ab557df4a2 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Thu, 23 Oct 2025 15:06:59 -0400 Subject: [PATCH] gdb: remove TYPE_DATA_LOCATION_BATON macro It is unused. Change-Id: Ide860825d8365cfa2370944725c7c999ec2a1cbd Approved-By: Tom Tromey --- gdb/gdbtypes.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h index 820a90bcbab..8c397ef6574 100644 --- a/gdb/gdbtypes.h +++ b/gdb/gdbtypes.h @@ -1932,8 +1932,6 @@ extern unsigned type_align (struct type *); extern bool set_type_align (struct type *, ULONGEST); /* Property accessors for the type data location. */ -#define TYPE_DATA_LOCATION_BATON(thistype) \ - ((thistype)->dyn_prop (DYN_PROP_DATA_LOCATION)->data.baton) #define TYPE_DATA_LOCATION_ADDR(thistype) \ ((thistype)->dyn_prop (DYN_PROP_DATA_LOCATION)->const_val ()) #define TYPE_DATA_LOCATION_KIND(thistype) \ -- 2.47.3