diff options
Diffstat (limited to 'gdb/probe.h')
-rw-r--r-- | gdb/probe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/probe.h b/gdb/probe.h index 31b0b8b..41e728a 100644 --- a/gdb/probe.h +++ b/gdb/probe.h @@ -143,7 +143,7 @@ public: corresponding to it. The argument number is represented N. This function can throw an exception. */ virtual struct value *evaluate_argument (unsigned n, - frame_info_ptr frame) = 0; + const frame_info_ptr &frame) = 0; /* Compile the Nth argument of the probe to an agent expression. The argument number is represented by N. */ @@ -301,7 +301,7 @@ extern struct cmd_list_element **info_probes_cmdlist_get (void); probe at that location, or if the probe does not have enough arguments, this returns NULL. */ -extern struct value *probe_safe_evaluate_at_pc (frame_info_ptr frame, +extern struct value *probe_safe_evaluate_at_pc (const frame_info_ptr &frame, unsigned n); /* Return true if the PROVIDER/NAME probe from OBJFILE_NAME needs to be |