diff options
author | Pedro Alves <pedro@palves.net> | 2022-05-27 16:33:56 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2022-06-17 09:58:49 +0100 |
commit | 7464aeaab47ca3fb7127223fe372489c9c7ed69e (patch) | |
tree | 0b301cd6c229f435b44b97b81ac543ab840a0a2b /gdb/linespec.c | |
parent | 238dc9af03392ecd8129ee54a340efd736782cf9 (diff) | |
download | gdb-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.c | 2 |
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: { |