* demangle.h (no_demangling): New.

(NO_DEMANGLING_STYLE_STRING): New.

        * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
        (cplus_demangle): Support no_demangling.
This commit is contained in:
Richard Henderson 2001-12-06 21:57:28 +00:00
parent 355b664e8c
commit 9acc7b9b3d
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2001-12-06 Richard Henderson <rth@redhat.com>
* demangle.h (no_demangling): New.
(NO_DEMANGLING_STYLE_STRING): New.
2001-11-14 Alan Modra <amodra@bigpond.net.au> 2001-11-14 Alan Modra <amodra@bigpond.net.au>
* dis-asm.h (print_insn_i386): Declare. * dis-asm.h (print_insn_i386): Declare.

View File

@ -54,6 +54,7 @@
extern enum demangling_styles extern enum demangling_styles
{ {
no_demangling = -1,
unknown_demangling = 0, unknown_demangling = 0,
auto_demangling = DMGL_AUTO, auto_demangling = DMGL_AUTO,
gnu_demangling = DMGL_GNU, gnu_demangling = DMGL_GNU,
@ -68,6 +69,7 @@ extern enum demangling_styles
/* Define string names for the various demangling styles. */ /* Define string names for the various demangling styles. */
#define NO_DEMANGLING_STYLE_STRING "none"
#define AUTO_DEMANGLING_STYLE_STRING "auto" #define AUTO_DEMANGLING_STYLE_STRING "auto"
#define GNU_DEMANGLING_STYLE_STRING "gnu" #define GNU_DEMANGLING_STYLE_STRING "gnu"
#define LUCID_DEMANGLING_STYLE_STRING "lucid" #define LUCID_DEMANGLING_STYLE_STRING "lucid"