diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-16 17:48:19 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-19 12:51:06 -0700 |
commit | 99f3dfd0f94144d295885e79f4ff5a5f8119fb04 (patch) | |
tree | e8a7e0ee93664f7576560d9a5e39050d722f26b6 /gdb/blockframe.c | |
parent | 3c9d050626d9ab8c28082af114b5e8246b57b7de (diff) | |
download | gdb-99f3dfd0f94144d295885e79f4ff5a5f8119fb04.zip gdb-99f3dfd0f94144d295885e79f4ff5a5f8119fb04.tar.gz gdb-99f3dfd0f94144d295885e79f4ff5a5f8119fb04.tar.bz2 |
Convert block_containing_function to method
This converts block_containing_function to be a method. This was
mostly written by script.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/blockframe.c b/gdb/blockframe.c index 65183b1..7c9faf4 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -162,7 +162,7 @@ find_pc_sect_containing_function (CORE_ADDR pc, struct obj_section *section) if (bl == nullptr) return nullptr; - return block_containing_function (bl); + return bl->containing_function (); } /* These variables are used to cache the most recent result of |