aboutsummaryrefslogtreecommitdiff
path: root/gdb/probe.c
diff options
context:
space:
mode:
authorPedro Alves <pedro@palves.net>2022-05-27 16:33:56 +0100
committerPedro Alves <pedro@palves.net>2022-06-17 09:58:49 +0100
commit7464aeaab47ca3fb7127223fe372489c9c7ed69e (patch)
tree0b301cd6c229f435b44b97b81ac543ab840a0a2b /gdb/probe.c
parent238dc9af03392ecd8129ee54a340efd736782cf9 (diff)
downloadgdb-7464aeaab47ca3fb7127223fe372489c9c7ed69e.zip
gdb-7464aeaab47ca3fb7127223fe372489c9c7ed69e.tar.gz
gdb-7464aeaab47ca3fb7127223fe372489c9c7ed69e.tar.bz2
Convert location_spec_type to a method
This converts location_spec_type to location_spec::type(). Change-Id: Iff4cbfafb1cf3d22adfa142ff939b4a148e52273
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;