aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-02-06 22:38:14 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-04-27 22:05:03 -0400
commit086d03c91ec1487ed3cc96554d29b2120dd37b5b (patch)
treecad44a8efcc46d8e9803756b21b9ba7f2dd72242 /gdb/cli
parent59197b8a96d69b49044d722b4bf097a9cc46a912 (diff)
downloadgdb-086d03c91ec1487ed3cc96554d29b2120dd37b5b.zip
gdb-086d03c91ec1487ed3cc96554d29b2120dd37b5b.tar.gz
gdb-086d03c91ec1487ed3cc96554d29b2120dd37b5b.tar.bz2
gdb: remove BLOCK_CONTIGUOUS_P macro
Replace with an equivalent method. Change-Id: I60fd3be7b4c2601c2a74328f635fa48ed80eb7f5
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index 7a6a8ea..31911eb 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -1428,7 +1428,7 @@ print_disassembly (struct gdbarch *gdbarch, const char *name,
if (name != NULL)
gdb_printf (_("for function %ps:\n"),
styled_string (function_name_style.style (), name));
- if (block == nullptr || BLOCK_CONTIGUOUS_P (block))
+ if (block == nullptr || block->is_contiguous ())
{
if (name == NULL)
gdb_printf (_("from %ps to %ps:\n"),