aboutsummaryrefslogtreecommitdiff
path: root/gdb/probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/probe.c')
-rw-r--r--gdb/probe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/probe.c b/gdb/probe.c
index 0b056eb..5371b7e 100644
--- a/gdb/probe.c
+++ b/gdb/probe.c
@@ -123,7 +123,7 @@ parse_probes (const location_spec *locspec,
const char *arg_start, *cs;
gdb_assert (location_spec_type (locspec) == PROBE_LOCATION_SPEC);
- arg_start = get_probe_location_spec_string (locspec);
+ arg_start = locspec->to_string ();
cs = arg_start;
const static_probe_ops *spops = probe_linespec_to_static_ops (&cs);