diff options
Diffstat (limited to 'gdb/cp-support.h')
-rw-r--r-- | gdb/cp-support.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/cp-support.h b/gdb/cp-support.h index cd473a2..4fbd53c 100644 --- a/gdb/cp-support.h +++ b/gdb/cp-support.h @@ -190,4 +190,11 @@ extern struct cmd_list_element *maint_cplus_cmd_list; gdb::unique_xmalloc_ptr<char> gdb_demangle (const char *name, int options); +/* 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); + #endif /* CP_SUPPORT_H */ |