diff options
Diffstat (limited to 'gdb/location.c')
-rw-r--r-- | gdb/location.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/location.c b/gdb/location.c index c78778edc1b..5ed3623f0a2 100644 --- a/gdb/location.c +++ b/gdb/location.c @@ -844,7 +844,7 @@ string_to_event_location_basic (const char **stringp, /* Try the input as a probe spec. */ cs = *stringp; - if (cs != NULL && probe_linespec_to_ops (&cs) != NULL) + if (cs != NULL && probe_linespec_to_static_ops (&cs) != NULL) { location = new_probe_location (*stringp); *stringp += strlen (*stringp); |