diff options
author | Fred Fish <fnf@specifix.com> | 1992-08-14 19:14:15 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-08-14 19:14:15 +0000 |
commit | 3dc755fb814406e634cddba36cf0250fda624b5e (patch) | |
tree | bf57963f5c33755b54a7c762551a3b3b7ab49cfe /gdb/dwarfread.c | |
parent | 3a0055878e484015ffe4dc3611826c5124228416 (diff) | |
download | gdb-3dc755fb814406e634cddba36cf0250fda624b5e.zip gdb-3dc755fb814406e634cddba36cf0250fda624b5e.tar.gz gdb-3dc755fb814406e634cddba36cf0250fda624b5e.tar.bz2 |
* cplus-dem.c (cplus_markers): Add table for gnu style and
use throughout, in place of compile time constant CPLUS_MARKER.
* cplus-dem.c (ARM_VTABLE_STRING, ARM_VTABLE_STRLEN): Add.
* cplus-dem.c (cfront_special): New function, as suggested
by pfieland@stratus.com.
* cplus-dem.c (forget_types): New function.
* cplus-dem.c (cplus_demangle): Call gnu_special, moved from
demangle_prefix().
* cplus-dem.c (mop_up): Call forget_types().
* cplus-dem.c (AUTO_DEMANGLING, GNU_DEMANGLING, LUCID_DEMANGLING):
Use throughout, instead of checking current_demangling_style.
* cplus-dem.c (demangle_signature): When finding an explicit
start of function args, forget all remembered types for
lucid/cfront style demangling.
* cplus-dem.c (demangle_prefix): In a sequence of two or more
underbar characters, use last pair as the delimiter. Hoist
gnu_special() call up to cplus_demangle(). Call cfront_special()
when appropriate.
* cplus-dem.c (cplus_special): Fix virtual table name demangling
for inherited classes.
* cplus-dem.c (demangle_args): Document quirks of numbered
references to previously seen types.
* dbxread.c (read_ofile_symtab, process_one_symbol):
Use AUTO_DEMANGLING rather than explicitly checking
current_demangling_style.
* demangle.h: Add some comments.
* demangle.h (AUTO_DEMANGLING, GNU_DEMANGLING, LUCID_DEMANGLING,
CFRONT_DEMANGLING): New macros.
* dwarfread.c (LCC_PRODUCER): Remove trailing space, which is
not found in the actual producer string produced by lcc.
* dwarfread.c (handle_producer): Use AUTO_DEMANGLING rather
than explicitly checking current_demangling_style.
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r-- | gdb/dwarfread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c index fcca11c..6844813 100644 --- a/gdb/dwarfread.c +++ b/gdb/dwarfread.c @@ -76,7 +76,7 @@ typedef unsigned int DIE_REF; /* Reference to a DIE */ #endif #ifndef LCC_PRODUCER -#define LCC_PRODUCER "NCR C/C++ " +#define LCC_PRODUCER "NCR C/C++" #endif #ifndef CFRONT_PRODUCER @@ -1593,7 +1593,7 @@ handle_producer (producer) gcc (cc1) producer, as opposed to a g++ (cc1plus) producer. */ #if 1 /* Works, but is experimental. -fnf */ - if (current_demangling_style == auto_demangling) + if (AUTO_DEMANGLING) { if (STREQN (producer, GPLUS_PRODUCER, strlen (GPLUS_PRODUCER))) { |