]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: remove TYPE_DATA_LOCATION_BATON macro
authorSimon Marchi <simon.marchi@polymtl.ca>
Thu, 23 Oct 2025 19:06:59 +0000 (15:06 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 24 Oct 2025 15:16:47 +0000 (11:16 -0400)
It is unused.

Change-Id: Ide860825d8365cfa2370944725c7c999ec2a1cbd
Approved-By: Tom Tromey <tom@tromey.com>
gdb/gdbtypes.h

index 820a90bcbab994e784b47eee09dd669e1d6a5c05..8c397ef65746f9679320eb94cb08959f6e41ca6b 100644 (file)
@@ -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) \