aboutsummaryrefslogtreecommitdiff
path: root/gdb/block.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-02-06 22:30:06 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-04-27 22:05:03 -0400
commitf73b4922a06f5455c1f0173d3b2026dba957d1b7 (patch)
treeb27b5f8b748788fcf1b22dffad546ad5e83de0d4 /gdb/block.h
parentf5cb8afdd297dd68273d98a10fbfd350dff918d8 (diff)
downloadgdb-f73b4922a06f5455c1f0173d3b2026dba957d1b7.zip
gdb-f73b4922a06f5455c1f0173d3b2026dba957d1b7.tar.gz
gdb-f73b4922a06f5455c1f0173d3b2026dba957d1b7.tar.bz2
gdb: remove BLOCK_NRANGES macro
Replace with range for loops. Change-Id: Icbe04f9b6f9e6ddae2e15b2409c61f7a336bc3e3
Diffstat (limited to 'gdb/block.h')
-rw-r--r--gdb/block.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/block.h b/gdb/block.h
index daaaecd..3782327 100644
--- a/gdb/block.h
+++ b/gdb/block.h
@@ -215,10 +215,6 @@ struct global_block
struct compunit_symtab *compunit_symtab;
};
-/* Number of ranges within a block. */
-
-#define BLOCK_NRANGES(bl) (bl)->ranges ().size ()
-
/* Access range array for block BL. */
#define BLOCK_RANGE(bl) (bl)->ranges ().data ()