* utils.c (fputs_demangled): Complete rewrite to clean up and
authorFred Fish <fnf@specifix.com>
Thu, 11 Mar 1993 17:44:39 +0000 (17:44 +0000)
committerFred Fish <fnf@specifix.com>
Thu, 11 Mar 1993 17:44:39 +0000 (17:44 +0000)
commitbd5d07d94c9a05601299885ae906ec2d6f000ba9
tree2f6f4768ac5c148645c516212720566bec9602ba
parent0b96ed0655e98bdbca122e06b420ac35181215ca
* utils.c (fputs_demangled):  Complete rewrite to clean up and
add a language parameter that is used to select the demangling
algorithm.
* defs.h (enum language):  Move further up in file so enum can
be used in prototypes.
* defs.h (fputs_demangled):  Update prototype to add lang arg.
* c-typeprint.c (cp_type_print_method_args):  Add language arg
to fputs_demangled calls, remove DMGL_PARAMS flag.
* stack.c (print_frame_info):  Remove obsolete code so we don't
have to update fputs_demangled usage in it.
* stack.c (print_frame_info, frame_info):  Add language variable
to pass to fputs_demangled and initialize it from the symbol's
language.  Call fputs_demangled with language arg.
* symtab.c (find_methods):  Add language arg to fputs_demangled
call.
gdb/ChangeLog
gdb/c-typeprint.c
gdb/defs.h
gdb/stack.c
gdb/symtab.c
gdb/utils.c