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/breakpoint.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/breakpoint.c')
-rw-r--r-- | gdb/breakpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c index a2f1190..0db3ada 100644 --- a/gdb/breakpoint.c +++ b/gdb/breakpoint.c @@ -5149,7 +5149,7 @@ watchpoint_check (bpstat *bs) function = get_frame_function (fr); if (function == NULL - || !contained_in (b->exp_valid_block, function->value_block ())) + || !function->value_block ()->contains (b->exp_valid_block)) within_current_scope = false; } |