diff options
author | Tom Tromey <tromey@redhat.com> | 2014-06-10 11:25:18 -0600 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2014-06-18 08:16:54 -0600 |
commit | 8236def8eb5276731a00eb21c2e687e4484aeb59 (patch) | |
tree | e0093625aca243fa217bebad58b4bbab7c70765a /gdb/probe.h | |
parent | 3977b71f1dfd04b6ac2c14e1405ce251c31a38aa (diff) | |
download | gdb-8236def8eb5276731a00eb21c2e687e4484aeb59.zip gdb-8236def8eb5276731a00eb21c2e687e4484aeb59.tar.gz gdb-8236def8eb5276731a00eb21c2e687e4484aeb59.tar.bz2 |
constify probe.c function
This constifies an argument to info_probes_for_ops.
2014-06-18 Tom Tromey <tromey@redhat.com>
* probe.c (info_probes_for_ops): Make "arg" const.
* probe.h (info_probes_for_ops): Update.
Diffstat (limited to 'gdb/probe.h')
-rw-r--r-- | gdb/probe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/probe.h b/gdb/probe.h index aa8aba8..b4ff0a6 100644 --- a/gdb/probe.h +++ b/gdb/probe.h @@ -230,7 +230,7 @@ extern VEC (probe_p) *find_probes_in_objfile (struct objfile *objfile, function that can be used by the probe backends to print their `info probe TYPE'. */ -extern void info_probes_for_ops (char *arg, int from_tty, +extern void info_probes_for_ops (const char *arg, int from_tty, const struct probe_ops *pops); /* Return the `cmd_list_element' associated with the `info probes' command, |