From: Simon Marchi Date: Thu, 23 Oct 2025 19:06:59 +0000 (-0400) Subject: gdb: remove TYPE_DATA_LOCATION_BATON macro X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c76e5b9e5096fa144723ec2ca541c1ab557df4a2;p=thirdparty%2Fbinutils-gdb.git gdb: remove TYPE_DATA_LOCATION_BATON macro It is unused. Change-Id: Ide860825d8365cfa2370944725c7c999ec2a1cbd Approved-By: Tom Tromey --- 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) \