diff options
author | Fred Fish <fnf@specifix.com> | 1992-06-09 06:09:33 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-06-09 06:09:33 +0000 |
commit | d630b6150e32d305c88eadb18f27785e5a7ee14d (patch) | |
tree | 20e2c7e78117137644d98b62e184b2d9c23501a0 /gdb/defs.h | |
parent | d9915ebc4745f7f9f003db4602377e1b946e5a57 (diff) | |
download | fsf-binutils-gdb-d630b6150e32d305c88eadb18f27785e5a7ee14d.zip fsf-binutils-gdb-d630b6150e32d305c88eadb18f27785e5a7ee14d.tar.gz fsf-binutils-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.h | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 *))); |