aboutsummaryrefslogtreecommitdiff
path: root/gdb/dwarfread.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1993-03-03 02:09:02 +0000
committerFred Fish <fnf@specifix.com>1993-03-03 02:09:02 +0000
commit45364c8a2a8b0bbdac88b937f30459281fc4f00d (patch)
treec765dd97caffd7ec2f24294b919cb874099118d7 /gdb/dwarfread.c
parent312bef9d216edd079836fb258a0c234f169f65ca (diff)
downloadgdb-45364c8a2a8b0bbdac88b937f30459281fc4f00d.zip
gdb-45364c8a2a8b0bbdac88b937f30459281fc4f00d.tar.gz
gdb-45364c8a2a8b0bbdac88b937f30459281fc4f00d.tar.bz2
* c-exp.y (parse_number): Change high_bit to unsigned.
* demangle.c: Change all references to cfront to ARM, since the actual algorithm is the one specified in the Annotated Reference Manual. This was confusing users into thinking that full cfront support was implemented. * dwarfread.c (CFRONT_PRODUCER): Remove, was never really used. * eval.c (evaluate_subexp): For STRUCTOP_PTR pass the arg type directly to lookup_struct_elt_type, which will do the dereferencing itself. * gdbtypes.c (lookup_struct_elt_type): Expand comments. Fix NULL dereferencing bug for unnamed structs, comment out questionable code.
Diffstat (limited to 'gdb/dwarfread.c')
-rw-r--r--gdb/dwarfread.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/dwarfread.c b/gdb/dwarfread.c
index c516800..b049fcd 100644
--- a/gdb/dwarfread.c
+++ b/gdb/dwarfread.c
@@ -197,10 +197,6 @@ typedef unsigned int DIE_REF; /* Reference to a DIE */
#define LCC_PRODUCER "NCR C/C++"
#endif
-#ifndef CFRONT_PRODUCER
-#define CFRONT_PRODUCER "CFRONT " /* A wild a** guess... */
-#endif
-
/* start-sanitize-chill */
#ifndef CHILL_PRODUCER
#define CHILL_PRODUCER "GNU Chill "
@@ -1916,7 +1912,6 @@ handle_producer (producer)
is not auto. We also leave the demangling style alone if we find a
gcc (cc1) producer, as opposed to a g++ (cc1plus) producer. */
-#if 1 /* Works, but is experimental. -fnf */
if (AUTO_DEMANGLING)
{
if (STREQN (producer, GPLUS_PRODUCER, strlen (GPLUS_PRODUCER)))
@@ -1927,12 +1922,7 @@ handle_producer (producer)
{
set_demangling_style (LUCID_DEMANGLING_STYLE_STRING);
}
- else if (STREQN (producer, CFRONT_PRODUCER, strlen (CFRONT_PRODUCER)))
- {
- set_demangling_style (CFRONT_DEMANGLING_STYLE_STRING);
- }
}
-#endif
}