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 5371b7e..ad7af77 100644
--- a/gdb/probe.c
+++ b/gdb/probe.c
@@ -122,7 +122,7 @@ parse_probes (const location_spec *locspec,
char *objfile_namestr = NULL, *provider = NULL, *name, *p;
const char *arg_start, *cs;
- gdb_assert (location_spec_type (locspec) == PROBE_LOCATION_SPEC);
+ gdb_assert (locspec->type () == PROBE_LOCATION_SPEC);
arg_start = locspec->to_string ();
cs = arg_start;