aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1992-06-09 06:09:33 +0000
committerFred Fish <fnf@specifix.com>1992-06-09 06:09:33 +0000
commitd630b6150e32d305c88eadb18f27785e5a7ee14d (patch)
tree20e2c7e78117137644d98b62e184b2d9c23501a0 /gdb/defs.h
parentd9915ebc4745f7f9f003db4602377e1b946e5a57 (diff)
downloadgdb-d630b6150e32d305c88eadb18f27785e5a7ee14d.zip
gdb-d630b6150e32d305c88eadb18f27785e5a7ee14d.tar.gz
gdb-d630b6150e32d305c88eadb18f27785e5a7ee14d.tar.bz2
* c-exp.y (yylex): Recognize single-quoted strings that specify
tokens with embedded whitespace, such as C++ demangled names. * defs.h (demangle_and_match, strcmp_iw, skip_quoted): Prototypes. * main.c (gdb_completer_quote_characters): Add global variable. * main.c (symbol_completion_function): Total rewrite for C++ demangled name handling. * main.c (skip_quoted): New function. * main.c (main): Set rl_completer_quote_characters. * symmisc.c (dump_symtab): Print source language for symtab. * symtab.c (expensive_mangler): Add prototype and function. * symtab.c (completion_list_add_symbol): Total rewrite for new C++ demangled name handling. * symtab.c (lookup_symbol): Check for demangled C++ symbol first, other changes for demangled C++ symbol handling. * symtab.c (lookup_demangled_block_symbol): Use demangle_and_match. * symtab.c (lookup_demangled_partial_symbol): Use demangle_and_match. * symtab.c (decode_line_1): Recognize C++ demangled names on input. * symtab.c (completion_list_add_symbol): Total rewrite for new C++ demangled name handling. * symtab.c (expensive_mangler): New function. * utils.c (strcmp_iw, demangle_and_match): New functions. * xcoffread.c (aixcoff_symfile_read): Fix prototype.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index d8b98c0..d02d186 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -133,6 +133,12 @@ mmalloc_getkey PARAMS ((PTR, int));
/* From utils.c */
extern char *
+demangle_and_match PARAMS ((const char *, const char *, int));
+
+extern int
+strcmp_iw PARAMS ((const char *, const char *));
+
+extern char *
safe_strerror PARAMS ((int));
extern char *
@@ -242,6 +248,9 @@ symbol_file_command PARAMS ((char *, int));
/* From main.c */
extern char *
+skip_quoted PARAMS ((char *));
+
+extern char *
gdb_readline PARAMS ((char *));
extern char *
@@ -651,7 +660,7 @@ free PARAMS ((void *)); /* 4.10.3.2 */
#endif /* MALLOC_INCOMPATIBLE */
-extern PTR
+extern void
qsort PARAMS ((void *base, size_t nmemb, /* 4.10.5.2 */
size_t size,
int (*comp)(const void *, const void *)));