diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-20 07:46:51 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-19 12:51:06 -0700 |
commit | 0d1912950e35ff6555d12c0baa983acc006c3cf0 (patch) | |
tree | da40715cada37627b7c1d943cb251c30585a14fa /gdb/parse.c | |
parent | b32797e8b99b53d4cdd22a4e649792146b219adc (diff) | |
download | binutils-0d1912950e35ff6555d12c0baa983acc006c3cf0.zip binutils-0d1912950e35ff6555d12c0baa983acc006c3cf0.tar.gz binutils-0d1912950e35ff6555d12c0baa983acc006c3cf0.tar.bz2 |
Convert contained_in to method
This converts contained_in to be a method of block.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r-- | gdb/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/parse.c b/gdb/parse.c index 4c20b91..f2917b3 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -86,7 +86,7 @@ innermost_block_tracker::update (const struct block *b, { if ((m_types & t) != 0 && (m_innermost_block == NULL - || contained_in (b, m_innermost_block))) + || m_innermost_block->contains (b))) m_innermost_block = b; } |