diff options
Diffstat (limited to 'gdb/probe.h')
-rw-r--r-- | gdb/probe.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/probe.h b/gdb/probe.h index de07f50..dd5387b 100644 --- a/gdb/probe.h +++ b/gdb/probe.h @@ -73,6 +73,12 @@ struct probe_ops unsigned (*get_probe_argument_count) (struct probe *probe); + /* Return 1 if the probe interface can evaluate the arguments of probe + PROBE, zero otherwise. See the comments on + sym_probe_fns:can_evaluate_probe_arguments for more details. */ + + int (*can_evaluate_probe_arguments) (struct probe *probe); + /* Evaluate the Nth argument from the PROBE, returning a value corresponding to it. The argument number is represented N. */ @@ -218,6 +224,12 @@ extern struct cmd_list_element **info_probes_cmdlist_get (void); extern unsigned get_probe_argument_count (struct probe *probe); +/* Return 1 if the probe interface associated with PROBE can evaluate + arguments, zero otherwise. See the comments on the definition of + sym_probe_fns:can_evaluate_probe_arguments for more details. */ + +extern int can_evaluate_probe_arguments (struct probe *probe); + /* Evaluate argument N of the specified probe. N must be between 0 inclusive and get_probe_argument_count exclusive. */ |