aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-09-21 10:40:10 -0600
committerTom Tromey <tromey@adacore.com>2023-11-21 14:52:05 -0700
commite17fd6c28e787445d496a71c855784010dfd6ab8 (patch)
treedca5a72ad17d398a40e3ecd6799a9d89dc89af42
parent20aadb931ddf2c6c4f9209fffd1fbfda50215342 (diff)
downloadgdb-e17fd6c28e787445d496a71c855784010dfd6ab8.zip
gdb-e17fd6c28e787445d496a71c855784010dfd6ab8.tar.gz
gdb-e17fd6c28e787445d496a71c855784010dfd6ab8.tar.bz2
Remove char-based bitfield macros
This removes the char-based bitfield macros from gdbtypes.h, as they are no longer used. Acked-By: Simon Marchi <simon.marchi@efficios.com> Reviewed-by: Keith Seitz <keiths@redhat.com>
-rw-r--r--gdb/gdbtypes.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index 76ea3f7..7d2e3d4 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -66,15 +66,6 @@ struct dwarf2_per_cu_data;
struct dwarf2_per_objfile;
struct dwarf2_property_baton;
-/* Some macros for char-based bitfields. */
-
-#define B_SET(a,x) ((a)[(x)>>3] |= (1 << ((x)&7)))
-#define B_CLR(a,x) ((a)[(x)>>3] &= ~(1 << ((x)&7)))
-#define B_TST(a,x) ((a)[(x)>>3] & (1 << ((x)&7)))
-#define B_TYPE unsigned char
-#define B_BYTES(x) ( 1 + ((x)>>3) )
-#define B_CLRALL(a,x) memset ((a), 0, B_BYTES(x))
-
/* * Different kinds of data types are distinguished by the `code'
field. */