mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
Convert contained_in to method
This converts contained_in to be a method of block.
This commit is contained in:
@@ -895,7 +895,7 @@ frame_id_inner (struct gdbarch *gdbarch, struct frame_id l, struct frame_id r)
|
||||
/* This will return true if LB and RB are the same block, or
|
||||
if the block with the smaller depth lexically encloses the
|
||||
block with the greater depth. */
|
||||
inner = contained_in (lb, rb);
|
||||
inner = rb->contains (lb);
|
||||
}
|
||||
else
|
||||
/* Only return non-zero when strictly inner than. Note that, per
|
||||
|
||||
Reference in New Issue
Block a user