gdb: remove BLOCK_NRANGES macro

Replace with range for loops.

Change-Id: Icbe04f9b6f9e6ddae2e15b2409c61f7a336bc3e3
This commit is contained in:
Simon Marchi
2022-02-06 22:30:06 -05:00
committed by Simon Marchi
parent f5cb8afdd2
commit f73b4922a0
3 changed files with 15 additions and 19 deletions

View File

@@ -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 ()