aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarf2/call-site.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/dwarf2/call-site.h')
-rw-r--r--gdb/dwarf2/call-site.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarf2/call-site.h b/gdb/dwarf2/call-site.h
index 5434c84..0a0c7e8 100644
--- a/gdb/dwarf2/call-site.h
+++ b/gdb/dwarf2/call-site.h
@@ -94,7 +94,7 @@ struct call_site_target
void iterate_over_addresses (struct gdbarch *call_site_gdbarch,
const struct call_site *call_site,
- frame_info_ptr caller_frame,
+ const frame_info_ptr &caller_frame,
iterate_ftype callback) const;
private:
@@ -201,7 +201,7 @@ struct call_site
throw NO_ENTRY_VALUE_ERROR. */
void iterate_over_addresses (struct gdbarch *call_site_gdbarch,
- frame_info_ptr caller_frame,
+ const frame_info_ptr &caller_frame,
call_site_target::iterate_ftype callback)
const
{