aboutsummaryrefslogtreecommitdiff
path: root/gdb/stack.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2022-01-28 11:41:38 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-04-27 22:05:03 -0400
commitf135fe728e2d0a6168a8445a50a6d63547c4db2f (patch)
tree947174858fcdf60492112022ce9d87aff69d1ffd /gdb/stack.c
parent6c00f721c834e2c622eb995a58f02900b6d98574 (diff)
downloadgdb-f135fe728e2d0a6168a8445a50a6d63547c4db2f.zip
gdb-f135fe728e2d0a6168a8445a50a6d63547c4db2f.tar.gz
gdb-f135fe728e2d0a6168a8445a50a6d63547c4db2f.tar.bz2
gdb: remove BLOCK_SUPERBLOCK macro
Replace with equivalent methods. Change-Id: I334a319909a50b5cc5570a45c38c70e10dc00630
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stack.c b/gdb/stack.c
index 35726b7..71d8598 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -2275,7 +2275,7 @@ iterate_over_block_local_vars (const struct block *block,
symbols. */
if (block->function ())
break;
- block = BLOCK_SUPERBLOCK (block);
+ block = block->superblock ();
}
}