aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.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/linespec.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/linespec.c')
-rw-r--r--gdb/linespec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/linespec.c b/gdb/linespec.c
index f992477..976e728 100644
--- a/gdb/linespec.c
+++ b/gdb/linespec.c
@@ -3062,7 +3062,7 @@ location_spec_to_sals (linespec_parser *parser,
{
std::vector<symtab_and_line> result;
- switch (location_spec_type (locspec))
+ switch (locspec->type ())
{
case LINESPEC_LOCATION_SPEC:
{