aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-01-28 10:59:38 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-04-27 22:05:02 -0400
commit4b8791e10e574d3279e6783b58556893b0c92853 (patch)
treee348e10e55388797f1bb53f3b6ae5cc990f1d223 /gdb/psymtab.c
parentdfb138f9344ca671e7e16fffe36779d38d18c490 (diff)
downloadfsf-binutils-gdb-4b8791e10e574d3279e6783b58556893b0c92853.zip
fsf-binutils-gdb-4b8791e10e574d3279e6783b58556893b0c92853.tar.gz
fsf-binutils-gdb-4b8791e10e574d3279e6783b58556893b0c92853.tar.bz2
gdb: remove BLOCK_{START,END} macros
Replace with equivalent methods. Change-Id: I10a6c8a2a86462d9d4a6a6409a3f07a6bea66310
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index 5d9949b..ce29e19 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -1835,8 +1835,8 @@ maintenance_check_psymtabs (const char *ignore, int from_tty)
}
}
if (ps->raw_text_high () != 0
- && (ps->text_low (objfile) < BLOCK_START (b)
- || ps->text_high (objfile) > BLOCK_END (b)))
+ && (ps->text_low (objfile) < b->start ()
+ || ps->text_high (objfile) > b->end ()))
{
gdb_printf ("Psymtab ");
gdb_puts (ps->filename);
@@ -1845,9 +1845,9 @@ maintenance_check_psymtabs (const char *ignore, int from_tty)
gdb_printf (" - ");
gdb_puts (paddress (gdbarch, ps->text_high (objfile)));
gdb_printf (" but symtab covers only ");
- gdb_puts (paddress (gdbarch, BLOCK_START (b)));
+ gdb_puts (paddress (gdbarch, b->start ()));
gdb_printf (" - ");
- gdb_puts (paddress (gdbarch, BLOCK_END (b)));
+ gdb_puts (paddress (gdbarch, b->end ()));
gdb_printf ("\n");
}
}