aboutsummaryrefslogtreecommitdiff
path: root/gdb/linespec.h
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2022-02-24 16:42:22 -0800
committerKeith Seitz <keiths@redhat.com>2022-02-24 16:42:22 -0800
commit2f2c677e670063360cbb3fb1b32bd6cf36bcf03a (patch)
treeae2115f266176ad9555cc09d8e1b5239ee04de15 /gdb/linespec.h
parent685c6a86373edfce04454562e022a20a303eb734 (diff)
downloadgdb-2f2c677e670063360cbb3fb1b32bd6cf36bcf03a.zip
gdb-2f2c677e670063360cbb3fb1b32bd6cf36bcf03a.tar.gz
gdb-2f2c677e670063360cbb3fb1b32bd6cf36bcf03a.tar.bz2
Move find_toplevel_char to cp-support.[ch]
find_toplevel_char is being used more and more outside of linespec.c, so this patch moves it into cp-support.[ch].
Diffstat (limited to 'gdb/linespec.h')
-rw-r--r--gdb/linespec.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/linespec.h b/gdb/linespec.h
index bf9b040..bb89755 100644
--- a/gdb/linespec.h
+++ b/gdb/linespec.h
@@ -162,13 +162,6 @@ extern const char *get_gdb_linespec_parser_quote_characters (void);
extern int is_ada_operator (const char *string);
-/* Find an instance of the character C in the string S that is outside
- of all parenthesis pairs, single-quoted strings, and double-quoted
- strings. Also, ignore the char within a template name, like a ','
- within foo<int, int>. */
-
-extern const char *find_toplevel_char (const char *s, char c);
-
/* Find the end of the (first) linespec pointed to by *STRINGP.
STRINGP will be advanced to this point. */