This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [commit] remove DEPRECATED_SYMBOL_NAME uses from symtab.c


On Thu, Jun 12, 2003 at 12:57:44PM -0400, Andrew Cagney wrote:
> Does this:
> 
> > #define COMPLETION_LIST_ADD_SYMBOL(symbol, sym_text, len, text, word) \
> >-  do { \
> >-    if (SYMBOL_DEMANGLED_NAME (symbol) != NULL) \
> >-      /* Put only the mangled name on the list.  */ \
> >-      /* Advantage:  "b foo<TAB>" completes to "b foo(int, int)" */ \
> >-      /* Disadvantage:  "b foo__i<TAB>" doesn't complete.  */ \
> >       completion_list_add_name \
> >-	(SYMBOL_DEMANGLED_NAME (symbol), (sym_text), (len), (text), (word)); 
> >\
> >-    else \
> >-      completion_list_add_name \
> >-	(DEPRECATED_SYMBOL_NAME (symbol), (sym_text), (len), (text), 
> >(word)); \
> >-  } while (0)
> >+	(SYMBOL_NATURAL_NAME (symbol), (sym_text), (len), (text), (word))
> 
> mean that COMPLETION_LIST_ADD_SYMBOL is also dead?  (I have trouble 
> reading unified diffs :-)

I guess so - it's still there, but it looks to me like it's a
transparent function call now.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]