aboutsummaryrefslogtreecommitdiff
path: root/gdb/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/probe.c')
-rw-r--r--gdb/probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/probe.c b/gdb/probe.c
index ec88452..4193f9f 100644
--- a/gdb/probe.c
+++ b/gdb/probe.c
@@ -617,7 +617,7 @@ enable_probes_command (const char *arg, int from_tty)
{
std::string provider, probe_name, objname;
- parse_probe_linespec ((const char *) arg, &provider, &probe_name, &objname);
+ parse_probe_linespec (arg, &provider, &probe_name, &objname);
std::vector<bound_probe> probes
= collect_probes (objname, provider, probe_name, &any_static_probe_ops);
@@ -652,7 +652,7 @@ disable_probes_command (const char *arg, int from_tty)
{
std::string provider, probe_name, objname;
- parse_probe_linespec ((const char *) arg, &provider, &probe_name, &objname);
+ parse_probe_linespec (arg, &provider, &probe_name, &objname);
std::vector<bound_probe> probes
= collect_probes (objname, provider, probe_name, &any_static_probe_ops);